def pk.if
import bend-kit-cbor@0.3.0.0/cbor.bend as Cborimport Base
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes
130def pk.if(ok: Bool, a: Array<U32>, +i: U32) -> Array<U32> & U32:
131 match ok:
132 case True{}:
133 Bytes.peek(a, i)
134 case False{}:
135 (a, 256)