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

x/ahh/src/iterator.ts>TakeWhile

Opinionated idiomatic features for TypeScript.
Go to Latest
class TakeWhile
extends Iterator<T>
import { TakeWhile } from "https://deno.land/x/ahh@v0.12.1/src/iterator.ts";

See Iterator.takeWhile.

Constructors

new
TakeWhile(iter: Iterator<T>, fn: (_: T) => boolean)

Methods

next(): Option<T>