uinix-fp
identity utility.
This package is ESM-only and requires Node 12+.
npm install uinix-fp-i
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]
This package exports the following identifiers: i
. There is no default export.
-
x
(X
) — Any value
-
X
— Justx