def pk.if
import bend-kit-regex@0.8.0.0/regex.bend as Regeximport Base
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes
1311def pk.if(ok: Bool, a: Array<U32>, +i: U32) -> Array<U32> & U32:
1312 match ok:
1313 case True{}:
1314 Bytes.peek(a, i)
1315 case False{}:
1316 (a, 0)