test-action-debian-package/node_modules/ramda/es/negate.js
Dawid Dziurla 9308795b8b
update
2020-03-26 15:37:35 +01:00

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;