Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "IsLengthGreaterThan"

Index

Functions

isLengthGreaterThan

  • isLengthGreaterThan(value: string, target: number): boolean
  • Checks if the string's length is not less than given target number. Note: this function takes into account surrogate pairs. If given value is not a string, then it returns false.

    Parameters

    • value: string

      The value being checked.

    • target: number

      The minimum target length

    Returns boolean

    True if the string's length is not less than given target number, false otherwise.

Generated using TypeDoc