def find

bolt@1.27.0.0 · src/rules/suspicious/unused.bend:202

import bolt@1.27.0.0/src/rules/suspicious/unused.bend as Unused
import Base

202# is the cell at (line, col) at the end of a path through the index?
203def find(pp: List<&2, Bool>, hh: Hits, +line: U32, +col: U32) -> Bool:
204  match pp:
205    case Nil{}:
206      hits.any(hits.cells(hh), line, col)
207    case Con{bb, rest}:
208      find(rest, hits.near(bb, hh), line, col)

Uses (7)

Used by (1)