IOTConnect-Web/node_modules/ext/docs/function/identity.md
2024-05-09 09:49:52 +08:00

170 B

Function.identity (ext/function/identity)

Returns input argument.

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

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