Icard/angular-clarity-master(work.../node_modules/ramda/es/negate.js

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;