Skip to main content
Module

x/ramda/source/always.js>default

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

Returns a function that always returns the given value. Note that for non-primitives the value returned is a reference to the original value.

This function is known as const, constant, or K (for K combinator) in other languages and libraries.