Recursively execute a callback on this node and all its children.
If the callback returns a non-undefined value, walking ends and the value is returned
Parameters
node: any
callback: ((arg0, arg1) => any)
(arg0, arg1): any
Parameters
arg0: any
arg1: any
Returns any
Optionalo: { except: string | Function | string[]; only: string | Function | string[]; }
Recursively execute a callback on this node and all its children. If the callback returns a non-undefined value, walking ends and the value is returned