def climb

ezx@1.11.0.0 · src/ez/target.bend:217

import ezx@1.11.0.0/src/ez/target.bend as Target
import Base

217# whether any component is a climb
218def climb(ps: List<&2, String>) -> Bool:
219  match ps:
220    case []:
221      False{}
222    case +h <> t:
223      climb.step(String.eq(h, ".."), _u => climb(t))

Uses (5)

Used by (1)