Skip to main content
Module

x/ramda/mod.ts>always

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

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.