* Converts `string` to an array. * * @private * @param {string} string The string to convert. * @returns {Array} Returns the converted array.
(string)
| 10 | * @returns {Array} Returns the converted array. |
| 11 | */ |
| 12 | function stringToArray(string) { |
| 13 | return hasUnicode(string) |
| 14 | ? unicodeToArray(string) |
| 15 | : asciiToArray(string); |
| 16 | } |
| 17 | |
| 18 | module.exports = stringToArray; |
nothing calls this directly
no test coverage detected