source: node_modules/ramda/src/gte.js@ d24f17c

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: 628 bytes
Line 
1var _curry2 =
2/*#__PURE__*/
3require("./internal/_curry2.js");
4/**
5 * Returns `true` if the first argument is greater than or equal to the second;
6 * `false` otherwise.
7 *
8 * @func
9 * @memberOf R
10 * @since v0.1.0
11 * @category Relation
12 * @sig Ord a => a -> a -> Boolean
13 * @param {Number} a
14 * @param {Number} b
15 * @return {Boolean}
16 * @see R.lte
17 * @example
18 *
19 * R.gte(2, 1); //=> true
20 * R.gte(2, 2); //=> true
21 * R.gte(2, 3); //=> false
22 * R.gte('a', 'z'); //=> false
23 * R.gte('z', 'a'); //=> true
24 */
25
26
27var gte =
28/*#__PURE__*/
29_curry2(function gte(a, b) {
30 return a >= b;
31});
32
33module.exports = gte;
Note: See TracBrowser for help on using the repository browser.