def poke.when

bend-kit-bytes@0.3.3.0 · bytes.bend:651

import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes
import Base

651def poke.when(write: Bool, a: Array<U32>, +i: U32, +v: U32) -> Array<U32>:
652  match write:
653    case True{}:
654      poke(a, i, v)
655    case False{}:
656      a

Uses (4)

Used by (2)