Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

init

import { init } from "https://github.gh-proxy.cn/raw.githubusercontent.com/baetheus/fun/main/iterable.ts";

Create an empty Iterable.

@example
import * as I from "./iterable.ts";

const empty = I.init<number>();
const result = Array.from(empty); // []
function init<A>(): Iterable<A>;
§
init<A>(): Iterable<A>
[src]

§Type Parameters

§Return Type

§
Iterable<A>
[src]