Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "IsMillitaryTime"

Index

Functions

Functions

isMilitaryTime

  • isMilitaryTime(value: string): boolean
  • 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.

    Parameters

    • value: string

      The value being checked.

    Returns boolean

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

Generated using TypeDoc