Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/ahh/mod.ts>I.empty

Idiomatic type-safety functions.
Go to Latest
method I.empty
import { I } from "https://deno.land/x/ahh@v0.10.1/mod.ts";

Creates an Iterator that returns nothing.

Examples

import { I } from "./mod.ts";

const iter = I.empty();

console.log(iter.next()); // undefined
console.log(iter.next()); // undefined