import { ListNonEmptyBase } from "https://deno.land/x/rimbu@0.14.0/list/custom/implementation/leaf/non-empty.ts";
Methods
asNormal(): this
assumeNonEmpty(): this
abstract
concat<T2 = T>(...sources: ArrayNonEmpty<StreamSource<T2>>): List.NonEmpty<T | T2>abstract
forEach(f: () => void, traverseState?: TraverseState): voidinsert(index: number, values: StreamSource<T>): List<T> | any
nonEmpty(): true
slice(range: IndexRange, reversed: boolean): List<T>
splice(unnamed 0?: { index?: number; remove?: number; insert?: StreamSource<T>; }): List<T> | any
abstract
streamRange(range: IndexRange, reversed?: boolean): Stream<T>abstract
structure(): stringabstract
toArray(range?: IndexRange, reversed?: boolean): T[] | anytoString(): string