identity.md 170 Bytes

Function.identity (ext/function/identity)

Returns input argument.

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

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