Returns a generator which iterates over the subset of the 'arrayLike' object that matches the provided index.
import { items, range } from 'deleight/generators';const tenth = []...items(range(1000), range(0, 1000, 10))];// selects every 10th item in the array. Copy
import { items, range } from 'deleight/generators';const tenth = []...items(range(1000), range(0, 1000, 10))];// selects every 10th item in the array.
Returns a generator which iterates over the subset of the 'arrayLike' object that matches the provided index.