Function lt

  • Checks if value is less than other.

    Parameters

    • value: any

      The value to compare.

    • other: any

      The other value to compare.

    Returns boolean

    Returns true if value is less than other, else false.

    3.9.0

    gt, gte, lte

    lt(1, 3)
    // => true

    lt(3, 3)
    // => false

    lt(3, 1)
    // => false