Skip to main content
Module

x/fae/append.ts>append

A functional module for Deno inspired from Ramda.
Latest
variable append
import { append } from "https://deno.land/x/fae@v1.1.1/append.ts";

Add the el to the end of list and returns new list without affecting original

 Fae.append('tests', ['write', 'more']); //=> ['write', 'more', 'tests']
 Fae.append('tests', []); //=> ['tests']
 Fae.append(['tests'], ['write', 'more']); //=> ['write', 'more', ['tests']]

type

Append