@rbxts/expect > Assertion > gt
Assertion.gt() method
Asserts that the value is greater than value
.
Signature:
gt(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.gt(4);