Using a breadth-first search, return the first child of parent that has value.
parent
value
Value being sought
Parent node
Equality function to compare values. Uses isEqualDefault by default, which compares by reference.
isEqualDefault
Using a breadth-first search, return the first child of
parentthat hasvalue.