def has_capital_head

bend-lint-rules@0.2.0.0 · layout/case.bend:92

import bend-lint-rules@0.2.0.0/layout/case.bend as Case
import 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{}

Uses (3)

Used by (2)