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:
307 bytes
|
Line | |
---|
1 | import add from "./add.js";
|
---|
2 | /**
|
---|
3 | * Decrements its argument.
|
---|
4 | *
|
---|
5 | * @func
|
---|
6 | * @memberOf R
|
---|
7 | * @since v0.9.0
|
---|
8 | * @category Math
|
---|
9 | * @sig Number -> Number
|
---|
10 | * @param {Number} n
|
---|
11 | * @return {Number} n - 1
|
---|
12 | * @see R.inc
|
---|
13 | * @example
|
---|
14 | *
|
---|
15 | * R.dec(42); //=> 41
|
---|
16 | */
|
---|
17 |
|
---|
18 | var dec =
|
---|
19 | /*#__PURE__*/
|
---|
20 | add(-1);
|
---|
21 | export default dec; |
---|
Note:
See
TracBrowser
for help on using the repository browser.