Function voidIterable

  • Creates an infinite iterable that yields undefined values.

    Returns

    An iterable that continuously yields undefined.

    Example

    for (const value of voidIterable()) {
    console.log(value); // Logs `undefined` indefinitely
    }

    Returns Iterable<undefined>

Generated using TypeDoc