Removes the items from the passed
data which match 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 in the tree data and the items for which returns true will be removed.
- The new data tree.