@rbxts/expect > Assertion > lessThan
Assertion.lessThan() method
Asserts that the value is less than value
.
Signature:
lessThan(value: number): Assertion<number>;
Parameters
Parameter | Type | Description |
---|---|---|
value | number | A number that the actual value should be less than. |
Returns:
Assertion<number>
Example
expect(5).to.be.lessThan(4);