subItems collection of each data item which matches the passed
The data tree.
The field which points to the subitems collection of each data item.
A function that will be executed for each data item and will return `true` for items that have to change the subitems collection.
(item: any) => boolean
A function which has as a parameter the subitems collection of the matched items and which will return the new subitems collection.
(subItems: any) => any
- The new data tree.