uinix-fp-i
v1.0.1
Published
uinix fp identity utility
Downloads
17
Readme
uinix-fp-i
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
— Justx