shouldPruneUnkeptDescendants method

bool shouldPruneUnkeptDescendants(
  1. Path path
)

Whether data below path that is not kept should be pruned.

Implementation

bool shouldPruneUnkeptDescendants(Path path) =>
    forest.leafMostValue(path) ?? false;