All Downloads are FREE. Search and download functionalities are using the official Maven repository.

node_modules.lodash.multiply.js Maven / Gradle / Ivy

There is a newer version: 3.3.1
Show newest version
var createMathOperation = require('./_createMathOperation');

/**
 * Multiply two numbers.
 *
 * @static
 * @memberOf _
 * @since 4.7.0
 * @category Math
 * @param {number} multiplier The first number in a multiplication.
 * @param {number} multiplicand The second number in a multiplication.
 * @returns {number} Returns the product.
 * @example
 *
 * _.multiply(6, 4);
 * // => 24
 */
var multiply = createMathOperation(function(multiplier, multiplicand) {
  return multiplier * multiplicand;
}, 1);

module.exports = multiply;




© 2015 - 2025 Weber Informatics LLC | Privacy Policy