Function childPaths

  • Get a node's children and the corresponding properties and indices that lead from this node to its children.

    Parameters

    • node: any

      or nodes

    Returns {
        node: Node;
        path: (string | number)[];
    }[]

    array of objects with node and path properties

Generated using TypeDoc