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

x/rimbu/base/index.ts>Arr._prependNew

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
function Arr._prependNew
import { Arr } from "https://deno.land/x/rimbu@1.2.0/base/index.ts";
const { _prependNew } = Arr;

Parameters

array: readonly T[]
value: T

Returns

ArrayNonEmpty<T>