UNPKG

eris-keys

Version:

a JavaScript client library for eris-keys

26 lines (23 loc) 580 B
var _curry2 = require('./internal/_curry2'); /** * Returns `true` if the first argument is greater than or equal to the second; * `false` otherwise. * * @func * @memberOf R * @since v0.1.0 * @category Relation * @sig Ord a => a -> a -> Boolean * @param {Number} a * @param {Number} b * @return {Boolean} * @see R.lte * @example * * R.gte(2, 1); //=> true * R.gte(2, 2); //=> true * R.gte(2, 3); //=> false * R.gte('a', 'z'); //=> false * R.gte('z', 'a'); //=> true */ module.exports = _curry2(function gte(a, b) { return a >= b; });