Flatten an iterator of iterators into a single iterator of items.
import { pipe } from "yta";import { flat, of, range, toArray } from "yta/sync";pipe(of(range(0, 3), range(3, 6)), flat());// => [0, 1, 2, 3, 4, 5] Copy
import { pipe } from "yta";import { flat, of, range, toArray } from "yta/sync";pipe(of(range(0, 3), range(3, 6)), flat());// => [0, 1, 2, 3, 4, 5]
See also:
The item type
Flatten an iterator of iterators into a single iterator of items.
See also: