Options
All
  • Public
  • Public/Protected
  • All
Menu

Module gte

Index

References

Functions Lang

References

Renames and re-exports gte

Lang Functions

  • gte<T>(value: T, other: T): boolean
  • Checks if value is greater than or equal to other.

    since

    5.7.0

    see

    gt, lt, lte

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

    gte(3, 3)
    // => true

    gte(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 or equal to other, else false.