Function isSurrogate

  • Determines whether a character is a surrogate.

    Parameters

    • code: number

      The code point.

    Returns boolean

    1.0.0