shouldKeep method

bool shouldKeep(
  1. Path path
)

Whether path is kept.

Implementation

bool shouldKeep(Path path) {
  final bool? shouldPrune = forest.leafMostValue(path);
  return shouldPrune != null && !shouldPrune;
}