@aptre/flex-layout
    Preparing search index...

    Type Alias ModelVisitor

    ModelVisitor: (
        node: JsonNode,
        parent: JsonNode | null,
    ) => void | boolean | VisitorResult

    Function type for visiting nodes in the model tree

    Type Declaration

      • (node: JsonNode, parent: JsonNode | null): void | boolean | VisitorResult
      • Parameters

        • node: JsonNode

          The current node being visited

        • parent: JsonNode | null

          The parent of the current node, or null for top-level nodes

        Returns void | boolean | VisitorResult

        • void/true to continue normally
        • false to stop traversal completely
        • VisitorResult to control traversal or delete nodes