swc/crates/swc_bundler/tests/.cache/deno/7a63b3a3b8a9614a110d00b2e40e2340d3315c14.ts
2021-11-09 20:42:49 +09:00

23 lines
402 B
TypeScript

// Loaded from https://deno.land/x/ramda@v0.27.2/source/negate.js
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 = _curry1(function negate(n) { return -n; });
export default negate;