Validate a value is a date. Values which are numbers are treated as dates and any string which if compliant with time.RFC3339Nano is a date.

Hierarchy

  • DateValidator

Implements

Constructors

Methods

Constructors

Methods

  • Returns string

  • Parameters

    • u: unknown

    Returns boolean

Generated using TypeDoc