@metreeca/core - v0.9.22
    Preparing search index...

    Function isTemporal

    • Checks whether a datatype is an XSD temporal datatype.

      Recognises the Gregorian, date, time, timestamp, and duration datatypes of xsd.

      Parameters

      • datatype: string

        The datatype to check

      Returns boolean

      true if datatype is one of the XSD temporal datatypes; false otherwise

      xsd