29 lines
592 B
JavaScript
29 lines
592 B
JavaScript
var _curry2 = /*#__PURE__*/require('./internal/_curry2');
|
|
|
|
/**
|
|
* Returns `true` if the first argument is greater than the second; `false`
|
|
* otherwise.
|
|
*
|
|
* @func
|
|
* @memberOf R
|
|
* @since v0.1.0
|
|
* @category Relation
|
|
* @sig Ord a => a -> a -> Boolean
|
|
* @param {*} a
|
|
* @param {*} b
|
|
* @return {Boolean}
|
|
* @see R.lt
|
|
* @example
|
|
*
|
|
* R.gt(2, 1); //=> true
|
|
* R.gt(2, 2); //=> false
|
|
* R.gt(2, 3); //=> false
|
|
* R.gt('a', 'z'); //=> false
|
|
* R.gt('z', 'a'); //=> true
|
|
*/
|
|
|
|
|
|
var gt = /*#__PURE__*/_curry2(function gt(a, b) {
|
|
return a > b;
|
|
});
|
|
module.exports = gt; |