@unction/flip
TypeScript icon, indicating that this package has built-in type declarations

4.1.4 • Public • Published

@unction/flip

Tests Stability Dependencies

MapperFunctionType<A, MapperFunctionType<B, C>> => B => A => C

Flips a function's first and second arguments.

flip(key)({aaa: "1"})("aaa") // "1"

Readme

Keywords

Package Sidebar

Install

npm i @unction/flip

Weekly Downloads

29

Version

4.1.4

License

ISC

Unpacked Size

17.6 kB

Total Files

25

Last publish

Collaborators

  • krainboltgreene