Returns a copy of node with its (and all its children's) parent information removed.

  • Type Parameters

    • T extends object

    Parameters

    Returns SimplifiedNode<Readonly<{
        ancestors?: string[];
        name: string;
        value: any;
    }>>