def upper_first
import bolt@1.27.0.0/src/lsp/semantic.bend as Semanticimport Base
24# does the name start with a capital?
25def upper_first(cs: List<&2, Char>) -> Bool:
26 match cs:
27 case Nil{}:
28 False{}
29 case Con{c, t}:
30 Char.is_upper(c)