1 | var _curry2 =
|
2 | /*#__PURE__*/
|
3 | require("./internal/_curry2");
|
4 | /**
|
5 | * Returns `true` if the first argument is less 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.gte
|
17 | * @example
|
18 | *
|
19 | * R.lte(2, 1); //=> false
|
20 | * R.lte(2, 2); //=> true
|
21 | * R.lte(2, 3); //=> true
|
22 | * R.lte('a', 'z'); //=> true
|
23 | * R.lte('z', 'a'); //=> false
|
24 | */
|
25 |
|
26 |
|
27 | var lte =
|
28 | /*#__PURE__*/
|
29 | _curry2(function lte(a, b) {
|
30 | return a <= b;
|
31 | });
|
32 |
|
33 | module.exports = lte; |
\ | No newline at end of file |