Skip to main content
Module

x/rimbu/mod.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.14.0/mod.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.14.0/mod.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