@launchdarkly/js-client-sdk-common - v1.35.0
    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