• Forcs any iterable to become an iterator. Will throw if not possible.

    Parameters

    • it: any

    Returns Iterator<any>

    Example

    import { iter } from 'deleight/generational';
    const it = iter([1, 2, 3, 4, 5]);