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
clapton-0.0.1 lib/clapton/javascripts/node_modules/lodash/_baseUnary.js
immosquare-cleaner-0.1.47 node_modules/lodash/_baseUnary.js
immosquare-cleaner-0.1.46 node_modules/lodash/_baseUnary.js
immosquare-cleaner-0.1.45 node_modules/lodash/_baseUnary.js
immosquare-cleaner-0.1.44 node_modules/lodash/_baseUnary.js
boring_generators-0.14.0 tmp/templates/app_template/node_modules/lodash/_baseUnary.js
immosquare-cleaner-0.1.43 node_modules/lodash/_baseUnary.js
immosquare-cleaner-0.1.42 node_modules/lodash/_baseUnary.js
immosquare-cleaner-0.1.41 node_modules/lodash/_baseUnary.js
immosquare-cleaner-0.1.40 node_modules/lodash/_baseUnary.js
sumomo-0.10.8 data/sumomo/api_modules/node_modules/lodash/_baseUnary.js
immosquare-cleaner-0.1.39 node_modules/lodash/_baseUnary.js
immosquare-cleaner-0.1.38 node_modules/lodash/_baseUnary.js
optimacms-0.1.61 spec/dummy/node_modules/lodash/_baseUnary.js
boring_generators-0.13.0 tmp/templates/app_template/node_modules/lodash/_baseUnary.js
immosquare-cleaner-0.1.32 node_modules/lodash/_baseUnary.js
immosquare-cleaner-0.1.31 node_modules/lodash/_baseUnary.js
immosquare-cleaner-0.1.30 node_modules/lodash/_baseUnary.js
immosquare-cleaner-0.1.29 node_modules/lodash/_baseUnary.js
immosquare-cleaner-0.1.28 node_modules/lodash/_baseUnary.js