import { LeafBlock } from "https://deno.land/x/rimbu@0.13.1/list/custom/index.ts";
Constructors
new
LeafBlock(context: ListContext, children: readonly T[])Properties
readonly
mutateChildren: T[]Methods
_mutateNormalize(): List.NonEmpty<T>
_mutateSplitRight(childIndex?): LeafBlock<T>
appendInternal(value: T): LeafBlock<T>
concat<T2>(...sources: ArrayNonEmpty<StreamSource<T2>>): List.NonEmpty<T | T2>
concatBlock(other: LeafBlock<T>): List.NonEmpty<T>
concatChildren(other: LeafBlock<T>): LeafBlock<T>
concatTree(other: LeafTree<T>): LeafTree<T>
createBlockBuilder(): BlockBuilder<T, any>
dropChildren(childAmount: number): LeafBlock<T>
forEach(f: () => void, state?: TraverseState): void
prependInternal(value: T): LeafBlock<T>
streamRange(range: IndexRange, reversed?): Stream<T>
structure(): string
takeChildren(childAmount: number): LeafBlock<T>
toArray(range?: IndexRange, reversed?): T[] | any