def grow.if
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytesimport Base
364def grow.if(fits: Bool, +len: U32, buf: Array<U32>, +n: U32) -> Array<U32>:
365 match fits:
366 case True{}:
367 buf
368 case False{}:
369 dst(copy(len, buf, alloc(n), 0, 0))