mirror of https://github.com/lukechilds/docs.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
548 B
25 lines
548 B
var _curry2 = require('./internal/_curry2');
|
|
|
|
|
|
/**
|
|
* Returns `true` if the first argument is less 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.gt
|
|
* @example
|
|
*
|
|
* R.lt(2, 1); //=> false
|
|
* R.lt(2, 2); //=> false
|
|
* R.lt(2, 3); //=> true
|
|
* R.lt('a', 'z'); //=> true
|
|
* R.lt('z', 'a'); //=> false
|
|
*/
|
|
module.exports = _curry2(function lt(a, b) { return a < b; });
|
|
|