1 | var _curry2 =
|
2 | /*#__PURE__*/
|
3 | require("./internal/_curry2");
|
4 | /**
|
5 | * Multiplies two numbers. Equivalent to `a * b` but curried.
|
6 | *
|
7 | * @func
|
8 | * @memberOf R
|
9 | * @since v0.1.0
|
10 | * @category Math
|
11 | * @sig Number -> Number -> Number
|
12 | * @param {Number} a The first value.
|
13 | * @param {Number} b The second value.
|
14 | * @return {Number} The result of `a * b`.
|
15 | * @see R.divide
|
16 | * @example
|
17 | *
|
18 | * const double = R.multiply(2);
|
19 | * const triple = R.multiply(3);
|
20 | * double(3); //=> 6
|
21 | * triple(4); //=> 12
|
22 | * R.multiply(2, 5); //=> 10
|
23 | */
|
24 |
|
25 |
|
26 | var multiply =
|
27 | /*#__PURE__*/
|
28 | _curry2(function multiply(a, b) {
|
29 | return a * b;
|
30 | });
|
31 |
|
32 | module.exports = multiply; |
\ | No newline at end of file |