array_fill


array_fill(arr, obj)
      

Set all elements of the array arr to the object obj. Return void.

Examples:


let a = #[1, 2, 3]
array_fill(a, 100)
a
// #[100, 100, 100]
      

Also see:

subarray_fill
array_copy
subarray


Core Module Index | Contents