* Converts `string` to an array. * * @private * @param {string} string The string to convert. * @returns {Array} Returns the converted array.
(string)
| 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. |
no test coverage detected