findInTree( tree: Tree, searchFilter: TreeFilter, args?: { ignore?: string[]; maxRecursion: number; walkable?: string[] },): undefined | Tree Parameters
- tree: Tree
- searchFilter: TreeFilter
- args: { ignore?: string[]; maxRecursion: number; walkable?: string[] } = ...
Returns undefined | Tree
All credit goes to rauenzi for writing up this implementation. You can find the original source here: https://github.com/rauenzi/BDPluginLibrary/blob/683d6abc70f149a39e2f0433ffb65e55ca47c4e3/release/0PluginLibrary.plugin.js#L2585C15-L2611