The string to be validated.
This function throws an error if the provided string is not a valid time string.
Will throw an error if the string is not a valid time string.
assertValidTimeString('12:34:56'); // No error
assertValidTimeString('25:00:00'); // Throws Error
Generated using TypeDoc
Asserts whether the provided string is a valid time string.