* Converts `string` to an array. * * @private * @param {string} string The string to convert. * @returns {Array} Returns the converted array.
(string)
| 9057 | * @returns {Array} Returns the converted array. |
| 9058 | */ |
| 9059 | function stringToArray(string) { |
| 9060 | return hasUnicode(string) |
| 9061 | ? unicodeToArray(string) |
| 9062 | : asciiToArray(string); |
| 9063 | } |
| 9064 | |
| 9065 | /** |
| 9066 | * Used by `_.unescape` to convert HTML entities to characters. |
no test coverage detected