Compares two values to check if x <= y. If x is an object with a lte method, it returns x.lte(y), also checks x.eq(y) and x.lt(y). Otherwise it returns the result of x <= y.
x <= y
x
lte
x.lte(y)
x.eq(y)
x.lt(y)
true if x is less than or equal to y or false otherwise.
true
y
false
Generated using TypeDoc
Compares two values to check if
x <= y. Ifxis an object with altemethod, it returnsx.lte(y), also checksx.eq(y)andx.lt(y). Otherwise it returns the result ofx <= y.Returns
trueifxis less than or equal toyorfalseotherwise.See