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:
306 bytes
|
Line | |
---|
1 | import add from "./add.js";
|
---|
2 | /**
|
---|
3 | * Increments 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.dec
|
---|
13 | * @example
|
---|
14 | *
|
---|
15 | * R.inc(42); //=> 43
|
---|
16 | */
|
---|
17 |
|
---|
18 | var inc =
|
---|
19 | /*#__PURE__*/
|
---|
20 | add(1);
|
---|
21 | export default inc; |
---|
Note:
See
TracBrowser
for help on using the repository browser.