• Gets an array of all code points in a string.

    Parameters

    • string: string

      The string to get code points from.

    Returns number[]

    The code points in the string.