def has_capital_head
import bend-lint-rules@0.2.0.0/layout/case.bend as Caseimport Base
92def has_capital_head(s: String) -> Bool:
93 match s:
94 case SCon{c, rest}:
95 Char.is_upper(c)
96 case SNil{}:
97 False{}
import bend-lint-rules@0.2.0.0/layout/case.bend as Caseimport Base
92def has_capital_head(s: String) -> Bool:
93 match s:
94 case SCon{c, rest}:
95 Char.is_upper(c)
96 case SNil{}:
97 False{}