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@0.13.0/list/custom/implementation/leaf/non-empty.ts";

Parameters

pred: (
value: T,
index: number,
halt: () => void,
) => boolean
optional
range: IndexRange
optional
reversed = [UNSUPPORTED]