Sha256: c323ae7cfd52cbc647839d393b69b8ebb7a040e0563270520056d0504b9f0ca1

Contents?: true

Size: 511 Bytes

Versions: 274

Compression:

Stored size: 511 Bytes

Contents

var createMathOperation = require('./_createMathOperation');

/**
 * Subtract two numbers.
 *
 * @static
 * @memberOf _
 * @since 4.0.0
 * @category Math
 * @param {number} minuend The first number in a subtraction.
 * @param {number} subtrahend The second number in a subtraction.
 * @returns {number} Returns the difference.
 * @example
 *
 * _.subtract(6, 4);
 * // => 2
 */
var subtract = createMathOperation(function(minuend, subtrahend) {
  return minuend - subtrahend;
}, 0);

module.exports = subtract;

Version data entries

274 entries across 272 versions & 30 rubygems

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