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

x/rimbu/sorted/common/base.ts>InnerMutateSource

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
interface InnerMutateSource
import { type InnerMutateSource } from "https://deno.land/x/rimbu@1.0.4/sorted/common/base.ts";

Properties

readonly
context: { readonly minEntries: number; readonly maxEntries: number; inner(
entries: readonly E[],
children: readonly InnerChild<E>[],
size: number,
): TS; }
size: number
entries: readonly E[]
mutateEntries: E[]
children: readonly InnerChild<E>[]
mutateChildren: InnerChild<E>[]

Methods

stream(reversed: boolean): Stream.NonEmpty<E>
copy(
entries?: readonly E[],
children?: readonly InnerChild<E>[],
size?: number,
): TS
addInternal(entry: E): TS
normalizeDownsizeChild(
childIndex: number,
newChild: InnerChild<E>,
newSize: number,
): TS
normalizeIncreaseChild(
childIndex: number,
newChild: InnerChild<E>,
newSize: number,
): TS