* Converts `string` to an array. * * @private * @param {string} string The string to convert. * @returns {Array} Returns the converted array.
(string)
| 290 | * @returns {Array} Returns the converted array. |
| 291 | */ |
| 292 | function stringToArray(string) { |
| 293 | return hasUnicode(string) ? unicodeToArray(string) : asciiToArray(string); |
| 294 | } |
| 295 | |
| 296 | /** |
| 297 | * Converts a Unicode `string` to an array. |
no test coverage detected