Sha256: 70c60c7f965c08178b59b2bd4d0988ea73a9c52522f53390d108b3c5f7ffa188

Contents?: true

Size: 332 Bytes

Versions: 274

Compression:

Stored size: 332 Bytes

Contents

/**
 * The base implementation of `_.unary` without support for storing metadata.
 *
 * @private
 * @param {Function} func The function to cap arguments for.
 * @returns {Function} Returns the new capped function.
 */
function baseUnary(func) {
  return function(value) {
    return func(value);
  };
}

module.exports = baseUnary;

Version data entries

274 entries across 272 versions & 30 rubygems

Version Path
disco_app-0.18.2 test/dummy/node_modules/lodash/_baseUnary.js
sumomo-0.8.15 data/sumomo/api_modules/node_modules/lodash/_baseUnary.js
trusty-cms-5.0.7 node_modules/lodash/_baseUnary.js
appmap-0.72.2 ./node_modules/lodash/_baseUnary.js
trusty-cms-5.0.6 node_modules/lodash/_baseUnary.js
appmap-0.72.1 ./node_modules/lodash/_baseUnary.js
appmap-0.72.0 ./node_modules/lodash/_baseUnary.js
trusty-cms-5.0.5 node_modules/lodash/_baseUnary.js
trusty-cms-5.0.4 node_modules/lodash/_baseUnary.js
appmap-0.71.0 ./node_modules/lodash/_baseUnary.js
disco_app-0.16.1 test/dummy/node_modules/lodash/_baseUnary.js
appmap-0.70.2 ./node_modules/lodash/_baseUnary.js
sumomo-0.8.14 data/sumomo/api_modules/node_modules/lodash/_baseUnary.js
appmap-0.70.1 ./node_modules/lodash/_baseUnary.js
appmap-0.70.0 ./node_modules/lodash/_baseUnary.js
appmap-0.69.0 ./node_modules/lodash/_baseUnary.js
sumomo-0.8.13 data/sumomo/api_modules/node_modules/lodash/_baseUnary.js
appmap-0.68.2 ./node_modules/lodash/_baseUnary.js
appmap-0.68.1 ./node_modules/lodash/_baseUnary.js
disco_app-0.15.2 test/dummy/node_modules/lodash/_baseUnary.js