Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

std/collections/take_while.ts

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
import * as mod from "https://deno.land/std@0.186.0/collections/take_while.ts";

Functions

Returns all elements in the given collection until the first element that does not match the given predicate.