DescendCondition<T> typedef
DescendCondition<T> =
bool Function(T node)
Signature of a function that takes a T
node and returns a bool
.
Used when traversing a tree to decide if the children of node
should be
traversed or skipped.
Implementation
typedef DescendCondition<T> = bool Function(T node);