main
Last change
on this file since d24f17c was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
703 bytes
|
Rev | Line | |
---|
[d24f17c] | 1 | "use strict";
|
---|
| 2 |
|
---|
| 3 | exports.__esModule = true;
|
---|
| 4 | exports["default"] = void 0;
|
---|
| 5 | var _ramda = require("ramda");
|
---|
| 6 | /**
|
---|
| 7 | * Subtracts its first argument from its second argument.
|
---|
| 8 | *
|
---|
| 9 | * @func subtractNum
|
---|
| 10 | * @memberOf RA
|
---|
| 11 | * @since {@link https://char0n.github.io/ramda-adjunct/2.22.0|v2.22.0}
|
---|
| 12 | * @category Math
|
---|
| 13 | * @sig Number -> Number -> Number
|
---|
| 14 | * @param {number} subtrahend the number to subtract
|
---|
| 15 | * @param {number} minuend the number to subtract from
|
---|
| 16 | * @return {number} A number representing the difference of subtracting the subtrahend from the minuend
|
---|
| 17 | * @example
|
---|
| 18 | *
|
---|
| 19 | * RA.subtractNum(3, 5); //=> 2
|
---|
| 20 | */
|
---|
| 21 | var subtractNum = (0, _ramda.flip)(_ramda.subtract);
|
---|
| 22 | var _default = subtractNum;
|
---|
| 23 | exports["default"] = _default; |
---|
Note:
See
TracBrowser
for help on using the repository browser.