Some handy methods to create repeatable iterables.
// you can import _all_ of them: importEnumerablefrom'@adamburgess/linq/enumerable' // or just the one you want: import { repeat } from'@adamburgess/linq/enumerable' Array.from(repeat([1, 2], 3)) // => [1, 2, 1, 2, 1, 2]
Best to import exactly what you need, as this can be tree-shooken.
Some handy methods to create repeatable iterables.
Best to import exactly what you need, as this can be tree-shooken.