Vec.Vec.get.if: def of bend-kit-collections@0.1.4.1 Import: import bend-kit-collections@0.1.4.1/vec.bend as Vec Lines 58-65 of bend-kit-collections@0.1.4.1/vec.bend: https://jend.leeeet.dev/read.txt?path=bend-kit-collections@0.1.4.1/vec.bend&start_line=58&end_line=65 import Base def Vec.get.if( ~T: Data, ok: Bool, +n: U32, buf: Array, +i: U32 ) -> Vec & Maybe<&2, T>: match ok: case True{}: Vec.get.fin(~T, n, Array.get(T, buf, i)) case False{}: (Vec{n, buf}, None{}) Uses (9): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Array https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Array.get https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe 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-collections@0.1.4.1/vec.bend&name=Vec https://jend.leeeet.dev/definition.txt?path=bend-kit-collections@0.1.4.1/vec.bend&name=Vec.get.fin