Remove all the child nodes from this node that match the criterion in the given test
this
test
void removeWhere(bool test(INode element));