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

    Function getNamespaceIRI

    • Retrieves the IRI of a namespace.

      Reports the absolute IRI the namespace was created with, that is the IRI term names are appended to, providing a named alternative to the empty string key (namespace[""]).

      Parameters

      • namespace: { "": string; readonly [term: string]: string }

        The namespace to retrieve the IRI from

      Returns string

      The absolute IRI of namespace

      getNamespaceIRI(app);                              // "app:/#"
      getNamespaceIRI(createNamespace("urn:example:")); // "urn:example:"