• Iterates over children of root, depth-first.

    Other iteration options:

    Type Parameters

    Parameters

    • root: T

      Root node

    Returns Generator<T>