AutoMovie API
    Preparing search index...

    Variable builtElementSubtreeConst

    builtElementSubtree: (
        elements: readonly IAutoMovieBuiltElement[],
        roots: readonly string[],
    ) => Set<string> = ...

    The ids of some elements and of every element below them through parent links.

    The roots are always included, even when no declared element carries them, so the caller decides whether an undeclared root is an error. A parent cycle in an unvalidated record terminates, because each id enters the set once. The set's iteration order is breadth-first discovery order from the roots in the order given.

    Type Declaration

      • (
            elements: readonly IAutoMovieBuiltElement[],
            roots: readonly string[],
        ): Set<string>
      • Parameters

        • elements: readonly IAutoMovieBuiltElement[]

          Every element of one environment.

        • roots: readonly string[]

          Element ids to start from.

        Returns Set<string>

        The roots and all their descendants.