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

x/rimbu/core/main/index.ts>CollectFun

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
namespace CollectFun
Re-export
import { CollectFun } from "https://deno.land/x/rimbu@0.13.1/core/main/index.ts";

Variables

Indicates, when returned from a collect function, to skip the value.

Type Aliases

Indicates, when returned from a collect function, to skip the value.

type alias CollectFun
Re-export
import { type CollectFun } from "https://deno.land/x/rimbu@0.13.1/core/main/index.ts";

A function used in collect methods to collect values from a collection. This is basically a single-pass map and filter.

definition: (
value: T,
index: number,
halt: () => void,
) => R | CollectFun.Skip