Rezi
    Preparing search index...

    Function expandAllSiblings

    • Expand all siblings of a node (nodes at the same depth with same parent).

      Type Parameters

      • T

      Parameters

      • flatNodes: readonly Readonly<
            {
                ancestorIsLast: readonly boolean[];
                depth: number;
                hasChildren: boolean;
                key: string;
                node: T;
                parentKey: string
                | null;
                siblingCount: number;
                siblingIndex: number;
            },
        >[]

        Flattened node list

      • currentIndex: number

        Current node index

      • expanded: readonly string[]

        Current expanded keys

      Returns readonly string[]

      New expanded set with all siblings expanded