MCPcopy Index your code
hub / github.com/vercel/hyper / unicodeToArray

Function unicodeToArray

bin/yarn-standalone.js:9096–9098  ·  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

9094 * @returns {Array} Returns the converted array.
9095 */
9096 function unicodeToArray(string) {
9097 return string.match(reUnicode) || [];
9098 }
9099
9100 /**
9101 * Splits a Unicode `string` into an array of its words.

Callers 1

stringToArrayFunction · 0.85

Calls 1

matchMethod · 0.80

Tested by

no test coverage detected