Cbor.pk.if: def of bend-kit-cbor@0.3.0.0 Import: import bend-kit-cbor@0.3.0.0/cbor.bend as Cbor Lines 130-135 of bend-kit-cbor@0.3.0.0/cbor.bend: https://jend.leeeet.dev/read.txt?path=bend-kit-cbor@0.3.0.0/cbor.bend&start_line=130&end_line=135 import Base import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes def pk.if(ok: Bool, a: Array, +i: U32) -> Array & U32: match ok: case True{}: Bytes.peek(a, i) case False{}: (a, 256) Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Array https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Sigma https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=bend-kit-bytes@0.3.3.0/bytes.bend&name=peek