The time string to convert. This should be in the format "HH:MM:SS".
An array of numbers representing the time. The first element is the hour, the second is the minute, and the third is the second.
This function may throw an error if the input string is not in the expected format.
const timeArray = timeStringToArrayUnsafe("12:34:56");
console.log(timeArray); // [12, 34, 56]
Generated using TypeDoc
Converts a time string into an array of numbers. This function is unsafe because it does not handle invalid input.