forked from waja/action-debian-package
23 lines
349 B
JavaScript
23 lines
349 B
JavaScript
import _curry1 from "./internal/_curry1.js";
|
|
/**
|
|
* 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;
|
|
});
|
|
|
|
export default negate; |