def check.is_colon

bolt@1.27.0.0 · src/rules/style/wrap.bend:81

import bolt@1.27.0.0/src/rules/style/wrap.bend as Wrap
import Base
import bolt@1.27.0.0/src/syntax/lex.bend as Lex

81# a `:` token?
82def check.is_colon(kk: Lex.TokKind) -> Bool:
83  match kk:
84    case Lex.TColon{}:
85      True{}
86    case other:
87      False{}

Uses (2)

Used by (2)