Returns a debug string representation of the node (recursive)

  • Parameters

    • node: TreeNode<Readonly<{
          name: string;
          nodeValue: any;
          sourceValue: any;
      }> | Readonly<{
          ancestors?: string[];
          name: string;
          value: any;
      }>>
    • indent: number = 0

    Returns string