* Converts `string` to an array. * * @private * @param {string} string The string to convert. * @returns {Array} Returns the converted array.
(string)
| 1321 | * @returns {Array} Returns the converted array. |
| 1322 | */ |
| 1323 | function stringToArray(string) { |
| 1324 | return hasUnicode(string) |
| 1325 | ? unicodeToArray(string) |
| 1326 | : asciiToArray(string); |
| 1327 | } |
| 1328 | |
| 1329 | /** |
| 1330 | * Used by `_.unescape` to convert HTML entities to characters. |
no test coverage detected