MCPcopy Create free account
hub / github.com/lodash/lodash / unicodeToArray

Function unicodeToArray

lodash.js:1360–1362  ·  view source on GitHub ↗

* Converts a Unicode `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

1358 * @returns {Array} Returns the converted array.
1359 */
1360 function unicodeToArray(string) {
1361 return string.match(reUnicode) || [];
1362 }
1363
1364 /**
1365 * Splits a Unicode `string` into an array of its words.

Callers 1

stringToArrayFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected