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

x/rambda/files/index.d.ts>prepend

Faster and smaller alternative to Ramda
Go to Latest
function prepend
import { prepend } from "https://deno.land/x/rambda@v8.6.0/files/index.d.ts";

Parameters

xToPrepend: T
iterable: T[]

Parameters

xToPrepend: T
iterable: IsFirstSubtypeOfSecond<T, U>[]

Parameters

xToPrepend: T

Returns

<U>(iterable: IsFirstSubtypeOfSecond<T, U>[]) => U[]

Parameters

xToPrepend: T

Returns

(iterable: T[]) => T[]