Checks if the string represents a time without a given timezone in the format HH:MM (military) If the given value does not match the pattern HH:MM, then it returns false.
expect(isMilitaryTime('application/json').value).toBeTruthy()
True if the string represents a time without a given timezone in the format HH:MM (military), false otherwise.
The value being checked.
Generated using TypeDoc
Checks if the string represents a time without a given timezone in the format HH:MM (military) If the given value does not match the pattern HH:MM, then it returns false.
Example
Returns
True if the string represents a time without a given timezone in the format HH:MM (military), false otherwise.