Skip to main content
Module

x/rambda/immutable.d.ts>flip

Faster and smaller alternative to Ramda
Go to Latest
function flip
import { flip } from "https://deno.land/x/rambda@v7.0.1/immutable.d.ts";

It returns function which calls fn with exchanged first and second argument.

Parameters

fn: (arg0: T, arg1: U) => TResult

Returns

(arg1: U, arg0?: T) => TResult