Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "IsSurrogatePair"

Index

Functions

Functions

isSurrogatePair

  • isSurrogatePair(value: string): boolean
  • Checks if the string contains any surrogate pairs chars. If given value is not a string, then it returns false.

    Parameters

    • value: string

      The value being checked.

    Returns boolean

    True if the string contains any surrogate pairs chars, false otherwise.

Generated using TypeDoc