Options
All
  • Public
  • Public/Protected
  • All
Menu

Module gt

Index

References

Functions Lang

References

Renames and re-exports gt

Lang Functions

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

    since

    5.7.0

    see

    gte, lt, lte

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

    gt(3, 3)
    // => false

    gt(1, 3)
    // => 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 greater than other, else false.