def check.end_or

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

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

288# `)` at the top of the list ends it; a nested one is just a paren
289def check.end_or(flat: Bool, rest: Act) -> Act:
290  match flat:
291    case True{}:
292      AEnd{}
293    case False{}:
294      rest

Uses (2)

Used by (1)