Skip to main content
Deno 2 is finally here 🎉️
Learn more
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.158.0/collections/drop_last_while.ts";

Functions

Returns a new array that drops all elements in the given collection until the last element that does not match the given predicate