main
Last change
on this file since d24f17c was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
577 bytes
|
Line | |
---|
1 | import _curry2 from "./internal/_curry2.js";
|
---|
2 | /**
|
---|
3 | * Returns `true` if the first argument is greater than the second; `false`
|
---|
4 | * otherwise.
|
---|
5 | *
|
---|
6 | * @func
|
---|
7 | * @memberOf R
|
---|
8 | * @since v0.1.0
|
---|
9 | * @category Relation
|
---|
10 | * @sig Ord a => a -> a -> Boolean
|
---|
11 | * @param {*} a
|
---|
12 | * @param {*} b
|
---|
13 | * @return {Boolean}
|
---|
14 | * @see R.lt
|
---|
15 | * @example
|
---|
16 | *
|
---|
17 | * R.gt(2, 1); //=> true
|
---|
18 | * R.gt(2, 2); //=> false
|
---|
19 | * R.gt(2, 3); //=> false
|
---|
20 | * R.gt('a', 'z'); //=> false
|
---|
21 | * R.gt('z', 'a'); //=> true
|
---|
22 | */
|
---|
23 |
|
---|
24 | var gt =
|
---|
25 | /*#__PURE__*/
|
---|
26 | _curry2(function gt(a, b) {
|
---|
27 | return a > b;
|
---|
28 | });
|
---|
29 |
|
---|
30 | export default gt; |
---|
Note:
See
TracBrowser
for help on using the repository browser.