MCPcopy Index your code
hub / github.com/deployd/deployd / stringToArray

Function stringToArray

test-app/public/sinon.js:11948–11952  ·  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

11946 * @returns {Array} Returns the converted array.
11947 */
11948 function stringToArray(string) {
11949 return hasUnicode(string)
11950 ? unicodeToArray(string)
11951 : asciiToArray(string);
11952 }
11953
11954 /**
11955 * Used by `_.unescape` to convert HTML entities to characters.

Callers 8

createCaseFirstFunction · 0.85
createPaddingFunction · 0.85
toArrayFunction · 0.85
splitFunction · 0.85
trimFunction · 0.85
trimEndFunction · 0.85
trimStartFunction · 0.85
truncateFunction · 0.85

Calls 3

hasUnicodeFunction · 0.85
unicodeToArrayFunction · 0.85
asciiToArrayFunction · 0.85

Tested by

no test coverage detected