def check.comma_or

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

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

304# a comma at the top of the list separates parameters
305def check.comma_or(flat: Bool, rest: Act) -> Act:
306  match flat:
307    case True{}:
308      AComma{}
309    case False{}:
310      rest

Uses (2)

Used by (1)