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

Bytes

type

returns

Getter

array<int>

Explanation

Returns the bytes in the given string as an array of character codes.

Examples

"foo".bytes == [102, 111, 111]
"".bytes == []

Last updated

Was this helpful?