- Preparing search index...
- The search index is not available
yatter
- bfTraverse<N>(tree: OneOrMore<Exclude<N, any[]>>, callback: TraverseCallback<N>, option?: {
children: undefined | string;
}): void
-
Parameters
-
tree: OneOrMore<Exclude<N, any[]>>
-
callback: TraverseCallback<N>
-
option: {
children: undefined | string;
} = {}
-
children: undefined | string
Returns void
广度优先遍历
Returns