should

Undocumented in source. Be warned that the author may not have intended to support it.
should
(
E
)
(
lazy E expr
)

Examples

1.should == 1;
1.should.not == 2;
1.should in [1, 2, 3];
4.should.not in [1, 2, 3];

void funcThrows() { throw new Exception("oops"); }
funcThrows.should.throw_;

Meta