* Converts `string` to an array. * * @private * @param {string} string The string to convert. * @returns {Array} Returns the converted array.
(string)
| 8968 | * @returns {Array} Returns the converted array. |
| 8969 | */ |
| 8970 | function stringToArray(string) { |
| 8971 | return hasUnicode(string) |
| 8972 | ? unicodeToArray(string) |
| 8973 | : asciiToArray(string); |
| 8974 | } |
| 8975 | |
| 8976 | /** |
| 8977 | * Used by `_.unescape` to convert HTML entities to characters. |
no test coverage detected