Accumulates all values and emits an array.
import {pipe, toArray} from 'iter-ops';const i = pipe([1, 2, 3], toArray());console.log(i.first); //=> [1, 2, 3] Copy
import {pipe, toArray} from 'iter-ops';const i = pipe([1, 2, 3], toArray());console.log(i.first); //=> [1, 2, 3]
Accumulates all values and emits an array.