Performs a breadth-first traversal of a tree-like data structure and applies a visitor function to each node. Object mutations are not safe with this traversal method.
The tree-like data structure to traverse.
The visitor object that defines the behavior during traversal.
Generated using TypeDoc
Performs a breadth-first traversal of a tree-like data structure and applies a visitor function to each node. Object mutations are not safe with this traversal method.