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