The array of time values to convert.
The converted integer value.
This function asserts that the provided array is a valid time array before performing the conversion.
Will throw an error if the provided array is not a valid time array.
const timeArray = [12, 30, 15];
const result = timeArrayToInt(timeArray);
console.log(result); // Expected output: 123015
Generated using TypeDoc
Converts an array of time values into an integer.