uinix-fp-i
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i uinix-fp-i

Weekly Downloads

4

Version

1.0.1

License

MIT

Unpacked Size

2.46 kB

Total Files

4

Last publish

Collaborators

  • chrisrzhou