Skip to main content
Module

x/ramda/mod.ts>unary

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

Wraps a function of any arity (including nullary) in a function that accepts exactly 1 parameter. Any extraneous parameters will not be passed to the supplied function.