mirror of
https://github.com/swc-project/swc.git
synced 2024-12-21 12:41:54 +03:00
bbaf619f63
swc_bundler: - [x] Fix wrapped esms. (denoland/deno#9307) - [x] Make test secure.
30 lines
626 B
TypeScript
30 lines
626 B
TypeScript
// Loaded from https://deno.land/x/ramda@v0.27.2/source/gt.js
|
|
|
|
|
|
import _curry2 from './internal/_curry2.js';
|
|
|
|
|
|
/**
|
|
* 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 = _curry2(function gt(a, b) { return a > b; });
|
|
export default gt;
|