Compares two values to check if x is strictly greater than y. If x is an object with a gt method, it returns x.gt(y). Otherwise it returns the result of x > y.
x
y
gt
x.gt(y)
x > y
true if x is strictly greater than y or false otherwise.
true
false
Generated using TypeDoc
Compares two values to check if
x
is strictly greater thany
. Ifx
is an object with agt
method, it returnsx.gt(y)
. Otherwise it returns the result ofx > y
.Returns
true
ifx
is strictly greater thany
orfalse
otherwise.