def upper_first

bolt@1.27.0.0 · src/lsp/semantic.bend:24

import bolt@1.27.0.0/src/lsp/semantic.bend as Semantic
import 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)

Uses (4)

Used by (2)