• This function mirrors the at function from the JavaScript Standard String object. It handles Unicode code points instead of UTF-16 character codes.

    Finds the Unicode code point at the given index.

    Parameters

    • string: string

      String to index

    • index: number

      Position of the character to be returned in range of -length(string) to length(string)

    Returns undefined | string

    New string consisting of the Unicode code point located at the specified offset, undefined if index is out of bounds