platform-bible-utils
    Preparing search index...

    Function toArray

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

      Converts a string to an array of string characters.

      Parameters

      • string: string

        String to convert to array

      Returns string[]

      An array of characters from the starting string