MCPcopy Index your code
hub / github.com/dunky11/react-saas-template / stringToArray

Function stringToArray

src/shared/functions/toArray.js:292–294  ·  view source on GitHub ↗

* Converts `string` to an array. * * @private * @param {string} string The string to convert. * @returns {Array} Returns the converted array.

(string)

Source from the content-addressed store, hash-verified

290 * @returns {Array} Returns the converted array.
291 */
292function stringToArray(string) {
293 return hasUnicode(string) ? unicodeToArray(string) : asciiToArray(string);
294}
295
296/**
297 * Converts a Unicode `string` to an array.

Callers 1

toArrayFunction · 0.85

Calls 3

hasUnicodeFunction · 0.85
unicodeToArrayFunction · 0.85
asciiToArrayFunction · 0.85

Tested by

no test coverage detected