vtils

Home > utils > TreeData > findNodeAll

TreeData.findNodeAll() method

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

Signature:

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

Parameters

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

Returns:

TNode[]