Returns a well-formed absolute IRI unchanged. With no argument, mints a fresh opaque urn:uuid: IRI for an
anonymous resource anchor. A blank-node label is not an absolute IRI and is rejected like any other malformed value.
Parameters
Optionalvalue: string
The IRI to validate; omitted to mint a fresh urn:uuid: IRI
Returns string
The validated or minted reference
Throws
RangeError if value is a relative or otherwise malformed IRI
Constructs an IRI Reference.
Returns a well-formed absolute IRI unchanged. With no argument, mints a fresh opaque
urn:uuid:IRI for an anonymous resource anchor. A blank-node label is not an absolute IRI and is rejected like any other malformed value.