def is_let

bolt@1.27.0.0 · src/rules/style/transcong.bend:143

import bolt@1.27.0.0/src/rules/style/transcong.bend as Transcong
import Base
import bolt@1.27.0.0/src/syntax/tree.bend as Tree

143# is the statement a let?
144def is_let(sk: Tree.StmtKind) -> Bool:
145  match sk:
146    case Tree.SLet{}:
147      True{}
148    case _other:
149      False{}

Uses (2)

Used by (1)