forked from waja/action-debian-package
26 lines
366 B
JavaScript
26 lines
366 B
JavaScript
|
var _curry1 =
|
||
|
/*#__PURE__*/
|
||
|
require("./internal/_curry1");
|
||
|
/**
|
||
|
* Negates its argument.
|
||
|
*
|
||
|
* @func
|
||
|
* @memberOf R
|
||
|
* @since v0.9.0
|
||
|
* @category Math
|
||
|
* @sig Number -> Number
|
||
|
* @param {Number} n
|
||
|
* @return {Number}
|
||
|
* @example
|
||
|
*
|
||
|
* R.negate(42); //=> -42
|
||
|
*/
|
||
|
|
||
|
|
||
|
var negate =
|
||
|
/*#__PURE__*/
|
||
|
_curry1(function negate(n) {
|
||
|
return -n;
|
||
|
});
|
||
|
|
||
|
module.exports = negate;
|