/** * Utility function that produces an iterator producing numbers (not only integers) * starting and ending where you want, which is useful for trying out stuff * without manually having to create arrays. * * * 'from' can be higher than 'to', in which case the iterator will count down * * 'step' is always a positive number (but we are forgiving if it's not) * * @example * ```typescript * pipe( * itr8Range(0, 3) * itr8ToArray, * ) // => [0, 1, 2, 3] * * pipe( * itr8Range(0, 10, 3) * itr8ToArray, * ) // => [0, 3, 6, 9] * * pipe( * itr8Range(5, 1, 2) * itr8ToArray, * ) // => [5, 3, 1] * ``` * * @param start start index * @param end end index * @param end step size, default = 1 * * @category interface/standard */ declare function itr8Range(from: number, to: number, step?: number): IterableIterator; export { itr8Range };