Skip to main content
Module

x/ramda/source/concat.js>default

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

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.