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

    Module datatype

    XSD 1.1 datatype identifiers.

    Provides the xsd namespace object exposing well-known XML Schema 1.1 datatype IRIs as a closed Namespace.

    import { xsd } from "@metreeca/core/datatype";

    // Predefined closed namespace for well-known XSD 1.1 datatypes

    xsd[""]; // IRI: "http://www.w3.org/2001/XMLSchema#"
    xsd.string; // IRI: "http://www.w3.org/2001/XMLSchema#string"
    xsd.dateTime; // IRI: "http://www.w3.org/2001/XMLSchema#dateTime"

    Variables

    xsd

    XSD datatype namespace.

    Functions

    isNumeric

    Checks whether a datatype is an XSD numeric datatype.

    isTemporal

    Checks whether a datatype is an XSD temporal datatype.

    isBinary

    Checks whether a datatype is an XSD binary datatype.