def or.if
import bend-kit-bits@0.1.0.1/bits.bend as Bitsimport Base
131def or.if(some: Bool, a: Array<U32>, +k: U32, +x: U32) -> Array<U32>:
132 match some:
133 case True{}:
134 or.of(k, x, Array.get(U32, a, k))
135 case False{}:
136 a