Skip to main content

@rbxts/expect > Assertion > gte

Assertion.gte() method

Asserts that the value is greater than or equal to value.

Signature:

gte(value: number): Assertion<number>;

Parameters

Parameter

Type

Description

value

number

A number that the actual value should be greater than or equal to.

Returns:

Assertion<number>

Remarks

Type alias for greaterThanOrEqualTo.

Example

expect(5).to.be.gte(4);
expect(2).to.be.gte(2);