def check.letter

bolt@1.27.0.0 · src/rules/style/param.bend:14

import bolt@1.27.0.0/src/rules/style/param.bend as Param
import Base

14# one character, and a capital: a type parameter
15def check.letter(cs: List<&2, Char>) -> Bool:
16  match cs:
17    case Con{c, Nil{}}:
18      Char.is_upper(c)
19    case other:
20      False{}

Uses (4)

Used by (1)