def defines.key
import bolt@1.27.0.0/src/rules/correctness/put.bend as Putimport Base
import bolt@1.27.0.0/src/syntax/lex.bend as Lex
23# a keyword? a token's kind is read here, its text in the tests beside it
24def defines.key(kk: Lex.TokKind) -> Bool:
25 match kk:
26 case Lex.TKey{}:
27 True{}
28 case other:
29 False{}