Module

x/rambda/rambda.js>append

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

It adds element x at the end of iterable.

Parameters

xToAppend: T
iterable: T[]

Parameters

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

Parameters

xToAppend: T

Returns

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

Parameters

xToAppend: T

Returns

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