Fold.fold.if: def of bend-toon-codec@0.1.0.0 Import: import bend-toon-codec@0.1.0.0/src/fold.bend as Fold Lines 228-237 of bend-toon-codec@0.1.0.0/src/fold.bend: https://jend.leeeet.dev/read.txt?path=bend-toon-codec@0.1.0.0/src/fold.bend&start_line=228&end_line=237 import Base import bend-toon-codec@0.1.0.0/src/json.bend as J def fold.if(+off: Bool, +j: J.Json, +depth: U32) -> J.Json: match off: case True{}: j case False{}: match j: case J.JObj{fs}: fold.obj(j, fs, depth) case _: j Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=bend-toon-codec@0.1.0.0/src/fold.bend&name=fold.obj https://jend.leeeet.dev/definition.txt?path=bend-toon-codec@0.1.0.0/src/json.bend&name=Json