Skip to main content
Module

x/fun/mod.ts>array._unsafePrepend

A collection of algebraic data types, lenses, and schemables based on a light weight higher kinded type implementation. Written for deno.
Latest
function array._unsafePrepend
import { array } from "https://deno.land/x/fun@v2.0.0/mod.ts";
const { _unsafePrepend } = array;

UNSAFE This operation muuates a standard Array by unshifting onto it. This function is intended for internal use only and thus has no api guaruntees.

Returns

(ua: Array<A>) => Array<A>