1.0.1 • Published 4 years ago
uinix-fp-i v1.0.1
uinix-fp-i
uinix-fp identity utility.
Install
This package is ESM-only and requires Node 12+.
npm install uinix-fp-iUse
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