Assertion.smallerThan

Asserts if a value is smaller than another value. Returns the result.

struct Assertion(T)
@trusted
bool
smallerThan
(
U
)
(,
string file = __FILE__
,
size_t line = __LINE__
)

Examples

10.should.be.smallerThan(100);
false.should.be.smallerThan(true);

Meta