Function gte

  • Checks if value is greater than or equal to other.

    Type Parameters

    • T

    Parameters

    • value: T

      The value to compare.

    • other: T

      The other value to compare.

    Returns boolean

    Returns true if value is greater than or equal to other, else false.

    Since

    5.7.0

    See

    [[gt]], [[lt]], [[lte]]

    Example

    gte(3, 1)
    // => true

    gte(3, 3)
    // => true

    gte(1, 3)
    // => false