• Chains multiple iterables...

    Type Parameters

    • T

    Parameters

    • Rest ...its: Iterable<any>[]

    Returns Iterable<T>

    Example

    import { chain } from 'deleight/generators';
    for (let i of chain(range(10), range(15))) {
    console.log(i); // 0, 1, 2, 3,...9, 0, 1, 2, ..., 14
    }