Creates an infinite iterable that yields undefined values.
undefined
An iterable that continuously yields undefined.
for (const value of voidIterable()) { console.log(value); // Logs `undefined` indefinitely}
Generated using TypeDoc
Creates an infinite iterable that yields
undefined
values.Returns
An iterable that continuously yields
undefined
.Example