1.0.1 • Published 2 years ago

uinix-fp-i v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

uinix-fp-i

Build Coverage Downloads Size

uinix-fp identity utility.


Install

This package is ESM-only and requires Node 12+.

npm install uinix-fp-i

Use

i is a function simply returning the provided value.

import {i} from 'uinix-fp-i';

i(42); // 42

[1, 2, 3].map(i); // [1, 2, 3]

API

This package exports the following identifiers: i. There is no default export.

i(x)

Parameters
  • x (X) — Any value
Returns
  • X — Just x

License

MIT © Chris Zhou