vtils

Home > utils > TreeData > findNodePathAll

TreeData.findNodePathAll() method

查找符合条件的所有节点的路径。

Signature:

findNodePathAll(predicate: (payload: TreeDataTraverseFnPayload<TNode>) => boolean): Array<TNode[]>;

Parameters

Parameter Type Description
predicate (payload: TreeDataTraverseFnPayload<TNode>) => boolean 条件

Returns:

Array<TNode[]>