main
Last change
on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
369 bytes
|
Rev | Line | |
---|
[d24f17c] | 1 | var _curry1 =
|
---|
| 2 | /*#__PURE__*/
|
---|
| 3 | require("./internal/_curry1.js");
|
---|
| 4 | /**
|
---|
| 5 | * Negates its argument.
|
---|
| 6 | *
|
---|
| 7 | * @func
|
---|
| 8 | * @memberOf R
|
---|
| 9 | * @since v0.9.0
|
---|
| 10 | * @category Math
|
---|
| 11 | * @sig Number -> Number
|
---|
| 12 | * @param {Number} n
|
---|
| 13 | * @return {Number}
|
---|
| 14 | * @example
|
---|
| 15 | *
|
---|
| 16 | * R.negate(42); //=> -42
|
---|
| 17 | */
|
---|
| 18 |
|
---|
| 19 |
|
---|
| 20 | var negate =
|
---|
| 21 | /*#__PURE__*/
|
---|
| 22 | _curry1(function negate(n) {
|
---|
| 23 | return -n;
|
---|
| 24 | });
|
---|
| 25 |
|
---|
| 26 | module.exports = negate; |
---|
Note:
See
TracBrowser
for help on using the repository browser.