Skip to main content
Module

x/ramda/mod.ts>concat

:ram: Practical functional Javascript
Latest
variable concat
import { concat } from "https://deno.land/x/ramda@v0.27.2/mod.ts";

Returns the result of concatenating the given lists or strings.

Note: R.concat expects both arguments to be of the same type, unlike the native Array.prototype.concat method. It will throw an error if you concat an Array with a non-Array value.

Dispatches to the concat method of the first argument, if present. Can also concatenate two members of a fantasy-land compatible semigroup.