Function lte

  • Less Than or Equal: Compare if the first value is less than or equal to the second.

    Type Parameters

    • T extends number

    Parameters

    • a: OperationIO<T>
    • b: OperationIO<T>

    Returns boolean

    a <= b

  • Less Than or Equal: Compare if a value is less than or equal to the given value.

    Type Parameters

    • T extends number

    Parameters

    • b: OperationIO<T>

    Returns (a: OperationIO<T>) => boolean

    (a) => a <= b