Sha256: 03f733e4ee279e1a36c767b9288592992b6719111f7d4fb93822b62be31fac4d

Contents?: true

Size: 355 Bytes

Versions: 153

Compression:

Stored size: 355 Bytes

Contents

/**
 * This method returns the first argument provided to it.
 *
 * @static
 * @memberOf _
 * @category Utility
 * @param {*} value Any value.
 * @returns {*} Returns `value`.
 * @example
 *
 * var object = { 'user': 'fred' };
 *
 * _.identity(object) === object;
 * // => true
 */
function identity(value) {
  return value;
}

module.exports = identity;

Version data entries

153 entries across 80 versions & 8 rubygems

Version Path
trusty-festivity-extension-2.3.22 node_modules/bower/node_modules/inquirer/node_modules/lodash/utility/identity.js
trusty-festivity-extension-2.3.22 node_modules/bower/node_modules/configstore/node_modules/js-yaml/node_modules/argparse/node_modules/lodash/utility/identity.js
trusty-festivity-extension-2.3.21 node_modules/bower/node_modules/configstore/node_modules/js-yaml/node_modules/argparse/node_modules/lodash/utility/identity.js
trusty-festivity-extension-2.3.21 node_modules/bower/node_modules/inquirer/node_modules/lodash/utility/identity.js
trusty-festivity-extension-2.3.20 node_modules/bower/node_modules/inquirer/node_modules/lodash/utility/identity.js
trusty-festivity-extension-2.3.20 node_modules/bower/node_modules/configstore/node_modules/js-yaml/node_modules/argparse/node_modules/lodash/utility/identity.js
trusty-festivity-extension-2.3.19 node_modules/bower/node_modules/configstore/node_modules/js-yaml/node_modules/argparse/node_modules/lodash/utility/identity.js
trusty-festivity-extension-2.3.19 node_modules/bower/node_modules/inquirer/node_modules/lodash/utility/identity.js
trusty-festivity-extension-2.3.18 node_modules/bower/node_modules/inquirer/node_modules/lodash/utility/identity.js
trusty-festivity-extension-2.3.18 node_modules/bower/node_modules/configstore/node_modules/js-yaml/node_modules/argparse/node_modules/lodash/utility/identity.js
trusty-festivity-extension-2.3.17 node_modules/bower/node_modules/inquirer/node_modules/lodash/utility/identity.js
trusty-festivity-extension-2.3.17 node_modules/bower/node_modules/configstore/node_modules/js-yaml/node_modules/argparse/node_modules/lodash/utility/identity.js
trusty-festivity-extension-2.3.16 node_modules/bower/node_modules/configstore/node_modules/js-yaml/node_modules/argparse/node_modules/lodash/utility/identity.js
trusty-festivity-extension-2.3.16 node_modules/bower/node_modules/inquirer/node_modules/lodash/utility/identity.js
trusty-festivity-extension-2.3.15 node_modules/bower/node_modules/inquirer/node_modules/lodash/utility/identity.js
trusty-festivity-extension-2.3.15 node_modules/bower/node_modules/configstore/node_modules/js-yaml/node_modules/argparse/node_modules/lodash/utility/identity.js
trusty-festivity-extension-2.3.14 node_modules/bower/node_modules/inquirer/node_modules/lodash/utility/identity.js
trusty-festivity-extension-2.3.14 node_modules/bower/node_modules/configstore/node_modules/js-yaml/node_modules/argparse/node_modules/lodash/utility/identity.js
trusty-festivity-extension-2.3.13 node_modules/bower/node_modules/configstore/node_modules/js-yaml/node_modules/argparse/node_modules/lodash/utility/identity.js
trusty-festivity-extension-2.3.13 node_modules/bower/node_modules/inquirer/node_modules/lodash/utility/identity.js