def classify.kw

bolt@1.27.0.0 · src/syntax/outline.bend:50

import bolt@1.27.0.0/src/syntax/outline.bend as Outline
import Base

50# the class when the prefix matches, else other
51def classify.kw(hit: Bool, yes: Cls) -> Cls:
52  match hit:
53    case True{}:
54      yes
55    case False{}:
56      LOther{}

Uses (2)

Used by (5)