MCPcopy Create free account
hub / github.com/cnodejs/egg-cnode / constant

Function constant

app/public/libs/lodash.compat.js:6137–6141  ·  view source on GitHub ↗

* Creates a function that returns `value`. * * @static * @memberOf _ * @category Utilities * @param {*} value The value to return from the new function. * @returns {Function} Returns the new function. * @example * * var object = { 'name': 'fred' }; *

(value)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected