@metreeca/trio - v0.1.1
    Preparing search index...

    Function named

    • Creates an RDF named resource.

      Boxes a well-formed absolute IRI. With no argument, mints a fresh opaque urn:uuid: resource for an anonymous anchor. A blank-node label is not an absolute IRI and is rejected like any other malformed value. The returned record is frozen.

      Parameters

      • Optionaliri: string

        The IRI to validate and box; omitted to mint a fresh urn:uuid: resource

      Returns Named

      A frozen Named record carrying the validated or minted IRI

      RangeError if iri is a relative or otherwise malformed IRI