def starts

yaml-for-bend@0.1.1.0 · re.bend:112

import yaml-for-bend@0.1.1.0/re.bend as Re
import Base

112# Whether +s+ starts with a match of +ps+.
113def starts(ps: List<&2, Pat>, +s: String) -> Bool:
114  matches(List.append(&2, Pat, ps, [Star{One{Anything{}}}]), s)

Uses (7)

Used by (0)

No other definition uses this definition.