def check.is_param

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

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

37# a parameter, not a local or a pattern
38def check.is_param(kk: Bind.BindKind) -> Bool:
39  match kk:
40    case Bind.KParam{}:
41      True{}
42    case other:
43      False{}

Uses (2)

Used by (1)