def head_passes

bend-lint-rules@0.2.0.0 · layout/format.bend:271

import bend-lint-rules@0.2.0.0/layout/format.bend as Format
import Base

271def head_passes(~test: @+c: Char -> Bool, s: String) -> Bool:
272  match s:
273    case SNil{}:
274      False{}
275    case SCon{c, rest}:
276      test(c)

Uses (3)

Used by (6)