@tempots/std
stringToChars() function
It transforms a string into an Array
of characters.
Signature:
stringToChars: (s: string) => string[]
Parameters
Parameter |
Type |
Description |
---|---|---|
s |
string |
The string to transform. |
Returns: string[]
An array of characters.