Module

x/rambda/immutable.d.ts>append

Faster and smaller alternative to Ramda
Latest
function append
import { append } from "https://dotland.deno.dev/x/rambda@9.4.1/immutable.d.ts";

It adds element x at the end of iterable.

Parameters

xToAppend: T
iterable: readonly T[]

Returns

readonly T[]

Parameters

xToAppend: T
iterable: readonly IsFirstSubtypeOfSecond<T, U>[]

Returns

readonly U[]

Parameters

xToAppend: T

Returns

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

Parameters

xToAppend: T

Returns

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