wishthis/node_modules/ext/docs/function/identity.md
2022-01-21 09:28:41 +01:00

170 B

Function.identity (ext/function/identity)

Returns input argument.

const identity = require("ext/function/identity");

identity("foo"); // "foo"