Documentation
    Preparing search index...
    • Parse a source reference.

      Parameters

      • reference: string

        A <name>://<id> string.

      Returns { id: string; name: string; ref: string }

      The parsed reference.

      • id: string

        Opaque document id.

      • name: string

        Source name.

      • ref: string

        The full reference string.

      SourceReferenceError invalid_reference when the string does not match the core reference schema.