Function isDate

  • Returns whether the payload is a Date, and that the date is valid

    Parameters

    • payload: unknown

    Returns payload is Date