Options
All
  • Public
  • Public/Protected
  • All
Menu

Module lt

Index

Functions Lang

Lang Functions

  • lt<T>(value: T, other: T): boolean
  • Checks if value is less than other.

    since

    5.6.0

    see

    gt, gte, lte

    example
    lt(1, 3)
    // => true

    lt(3, 3)
    // => false

    lt(3, 1)
    // => false

    Type Parameters

    • T

    Parameters

    • value: T

      The value to compare.

    • other: T

      The other value to compare.

    Returns boolean

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