@launchdarkly/js-server-sdk-common - v2.26.1
    Preparing search index...

    Class DateValidator

    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.

    Implements

    Index
    • Returns string

    • Parameters

      • u: unknown

      Returns boolean