The number to be validated.
This function throws an error if the provided number is not a valid second value (i.e., between 0 and 59).
Will throw an error if the provided number is not a valid second value.
assertValidSeconds(30); // No error
assertValidSeconds(60); // Throws error
Generated using TypeDoc
Asserts whether the provided number is a valid second value.