Checks if a string is a valid date.

  • Parameters

    • value: string

      The string to validate.

    • options: IsDateOptions = {}

      Options for date validation.

    Returns boolean

    true if the string is a valid date, false otherwise.