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