def check.prefer_open
import bolt@1.27.0.0/src/rules/style/wrap.bend as Wrapimport Base
194# an angle open wins over a close; otherwise the close stands
195def check.prefer_open(opens: Bool, closed: Act) -> Act:
196 match opens:
197 case True{}:
198 check.drop_close(closed)
199 case False{}:
200 closed