• Test whether the string contains any surrogate pairs chars.

    Example

    expect(isSurrogatePair('ABC千𥧄1-2-3').value).toBeTruthy()
    

    Parameters

    • target: string

      The target

    Returns Result<boolean | undefined>

Generated using TypeDoc