For the complete documentation index, see llms.txt. This page is also available as Markdown.

Chars

type

returns

Getter

array<string>

Explanation

Returns an array of the bytes in a given string, handles unicode surrogates properly.

Examples

"Hello" == ["H", "e", "l", "l", "o"]
"🐐 > 🐑" == ["🐐", " ", ">", " ", "🐑"]

Last updated

Was this helpful?