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

x/rimbu/list/custom/implementation/leaf/non-empty.ts>ListNonEmptyBase#filter

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
method ListNonEmptyBase.prototype.filter
import { ListNonEmptyBase } from "https://deno.land/x/rimbu@1.2.1/list/custom/implementation/leaf/non-empty.ts";

Parameters

pred: (
value: T,
index: number,
halt: () => void,
) => boolean
optional
options: { range?: IndexRange | undefined; reversed?: boolean | undefined; negate?: boolean | undefined; } = [UNSUPPORTED]