Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/rambda/files/index.d.ts>on

Faster and smaller alternative to Ramda
Go to Latest
function on
import { on } from "https://deno.land/x/rambda@v8.6.0/files/index.d.ts";

Parameters

binaryFn: (a: U, b: U) => R
unaryFn: (value: T) => U
a: T
b: T

Parameters

binaryFn: (a: U, b: U) => R
unaryFn: (value: T) => U
a: T

Returns

(b: T) => R

Parameters

binaryFn: (a: U, b: U) => R
unaryFn: (value: T) => U

Returns

{ (a: T, b: T): R; (a: T): (b: T) => R; }