• 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

    expect(isMilitaryTime('application/json').value).toBeTruthy()
    

    Returns

    True if the string represents a time without a given timezone in the format HH:MM (military), false otherwise.

    Parameters

    • value: string

      The value being checked.

    Returns Result<boolean | undefined>

Generated using TypeDoc