@blockchaincommons/envelope - v1.0.0-beta.4
    Preparing search index...

    Variable EdgeTypeConst

    EdgeType: {
        None: "none";
        Subject: "subject";
        Assertion: "assertion";
        Predicate: "predicate";
        Object: "object";
        Content: "content";
    } = ...

    The type of incoming edge provided to the visitor.

    This enum identifies how an envelope element is connected to its parent in the hierarchy during traversal. It helps the visitor function understand the semantic relationship between elements.

    Type Declaration

    • ReadonlyNone: "none"

      No incoming edge (root)

    • ReadonlySubject: "subject"

      Element is the subject of a node

    • ReadonlyAssertion: "assertion"

      Element is an assertion on a node

    • ReadonlyPredicate: "predicate"

      Element is the predicate of an assertion

    • ReadonlyObject: "object"

      Element is the object of an assertion

    • ReadonlyContent: "content"

      Element is the content wrapped by another envelope