def close.if
import bend-toon-codec@0.1.0.0/src/frame.bend as Frameimport Base
171def close.if(+b: Bool, +st: St, +strict: Bool) -> Result<&2, &2, String, St>:
172 match b:
173 case True{}:
174 close(st, strict)
175 case False{}:
176 Done{st}