def upper_first
import bolt@1.27.0.0/src/syntax/lex.bend as Leximport Base
250# does the text start with a capital?
251def upper_first(cs: List<&2, Char>) -> Bool:
252 match cs:
253 case Nil{}:
254 False{}
255 case Con{c, t}:
256 Char.is_upper(c)