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

x/fae/flip.ts

A functional module for Deno inspired from Ramda.
Latest
import * as fae from "https://deno.land/x/fae@v1.1.1/flip.ts";

Functions

Returns a new function much like the supplied one, except that the first two arguments' order is reversed. The returned function is automatically curried. But the types are not preserved as of now due to TS limitations. The returned function will have all unknown in its parameters list and return type. To make it work properly, you need to use type assertion using Curry2 or Curry3.