Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "IsISODateString"

Index

Functions

Functions

isISODateString

  • isISODateString(value: any): boolean
  • Checks if argument is a ISO 8601 Date String.

    Such a string is 24 ((YYYY-MM-DDTHH:mm:ss.sssZ) or 27 (±YYYYYY-MM-DDTHH:mm:ss.sssZ)

    characters long.

    Parameters

    • value: any

      The value being checked.

    Returns boolean

    True if the value is an instance of an ISOString date.

Generated using TypeDoc