Metreeca Gear
    Preparing search index...

    Function link

    • Narrows a JSON value to a link.

      Accepts a relative reference as well as an absolute IRI, leaving resolution against a base to the consumer.

      Parameters

      • value: Value

        The value to narrow

      Returns string

      value, unchanged, typed as an IRI

      TypeError If value is not a string holding an IRI or a relative reference