Function bfTraverse

  • 广度优先遍历

    Returns

    Type Parameters

    • N

    Parameters

    • tree: OneOrMore<Exclude<N, any[]>>
    • callback: TraverseCallback<N>
    • option: {
          children: undefined | string;
      } = {}
      • children: undefined | string

        定义子节点的属性名 default is children

    Returns void

Generated using TypeDoc