Function lte

  • 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.

    Returns

    true if x is less than or equal to y or false otherwise.

    See

    Parameters

    • x: any
    • y: any

    Returns boolean

Generated using TypeDoc