UNPKG

591 BJavaScriptView Raw
1var _curry2 =
2/*#__PURE__*/
3require("./internal/_curry2");
4/**
5 * Returns `true` if the first argument is less than the second; `false`
6 * otherwise.
7 *
8 * @func
9 * @memberOf R
10 * @since v0.1.0
11 * @category Relation
12 * @sig Ord a => a -> a -> Boolean
13 * @param {*} a
14 * @param {*} b
15 * @return {Boolean}
16 * @see R.gt
17 * @example
18 *
19 * R.lt(2, 1); //=> false
20 * R.lt(2, 2); //=> false
21 * R.lt(2, 3); //=> true
22 * R.lt('a', 'z'); //=> true
23 * R.lt('z', 'a'); //=> false
24 */
25
26
27var lt =
28/*#__PURE__*/
29_curry2(function lt(a, b) {
30 return a < b;
31});
32
33module.exports = lt;
\No newline at end of file