Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/better_iterators/mod.ts>Lazy#first

Chainable iterators (sync and async) for TypeScript, with support for opt-in, bounded parallelism
Go to Latest
method Lazy.prototype.first
import { Lazy } from "https://deno.land/x/better_iterators@v1.3.0/mod.ts";

Get the first item. @throws if there are no items.