lepu-test-platform-web/node_modules/ext/docs/function/identity.md

170 B

Function.identity (ext/function/identity)

Returns input argument.

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

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