def pk.if
import bend-kit-csv@0.3.0.0/csv.bend as Csvimport Base
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes
41# Byte i, or 256 past the end.
42def pk.if(ok: Bool, a: Array<U32>, +i: U32) -> Array<U32> & U32:
43 match ok:
44 case True{}:
45 Bytes.peek(a, i)
46 case False{}:
47 (a, 256)