@suluk/keys - v0.1.0
    Preparing search index...

    Function inSubtree

    • TRUE when candidate is within path's subtree: the node itself (exact) OR a descendant (a "/"-prefix). The JS twin of the SQL subtree predicate — the single rule for spend pooling, log visibility, and cascade.

      Parameters

      • path: string
      • candidate: string

      Returns boolean