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

x/rimbu/list/custom/builder/leaf/leaf-builder.ts>LeafBuilder

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
interface LeafBuilder
implements BuilderBase<T, T>
import { type LeafBuilder } from "https://deno.land/x/rimbu@1.0.2/list/custom/builder/leaf/leaf-builder.ts";

Methods

updateAt<O>(
index: number,
update: Update<T>,
otherwise?: OptLazy<O>,
): T | O
normalized(): LeafBuilder<T> | undefined
forEach(f: (
value: T,
index: number,
halt: () => void,
) => void
, state?: TraverseState
): void
build(): List<T>
buildMap<T2>(f: (value: T) => T2): List<T2>