Skip to content
On this page

Tree<T>.traverseBFS

Traverses the tree using BFS.

Parameters

callbackCallBackFn<T>: The callback function to execute on each node.

Returns

void

The tree.