source: node_modules/ramda-adjunct/lib/subtractNum.js@ d24f17c

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
RevLine 
[d24f17c]1"use strict";
2
3exports.__esModule = true;
4exports["default"] = void 0;
5var _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 */
21var subtractNum = (0, _ramda.flip)(_ramda.subtract);
22var _default = subtractNum;
23exports["default"] = _default;
Note: See TracBrowser for help on using the repository browser.