Preparing search index...
The search index is not available
ixfx
ixfx
Collections
Trees
Traverse
depthFirst
Function depthFirst
depth
First
<
T
,
TV
>
(
root
)
:
Generator
<
T
>
Iterates over children of
root
, depth-first.
Other iteration options:
breadthFirst
: Children, breadth-first
depthFirst
: Children, depth-first
parents
: Chain of parents, starting with immediate parent
siblings
: Nodes with same parent
Type Parameters
T
extends
TraversableTree
<
TV
>
|
TreeNode
<
TV
>
TV
Parameters
root
:
T
Root node
Returns
Generator
<
T
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
ixfx
Loading...
Iterates over children of
root
, depth-first.Other iteration options: