@hyperjump/json-schema-formats
    Preparing search index...

    Function isDuration

    The 'duration' format. Validates that a string represents a duration according to RFC 3339, Appendix A.

    • Returns a Boolean value that indicates whether or not a pattern exists in a searched string.

      Parameters

      • string: string

        String on which to perform the search.

      Returns boolean