mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-08 10:17:48 +00:00
Bump to v4.11.2.
This commit is contained in:
8
lt.js
8
lt.js
@@ -1,3 +1,6 @@
|
||||
var baseLt = require('./_baseLt'),
|
||||
createRelationalOperation = require('./_createRelationalOperation');
|
||||
|
||||
/**
|
||||
* Checks if `value` is less than `other`.
|
||||
*
|
||||
@@ -9,6 +12,7 @@
|
||||
* @param {*} other The other value to compare.
|
||||
* @returns {boolean} Returns `true` if `value` is less than `other`,
|
||||
* else `false`.
|
||||
* @see _.gt
|
||||
* @example
|
||||
*
|
||||
* _.lt(1, 3);
|
||||
@@ -20,8 +24,6 @@
|
||||
* _.lt(3, 1);
|
||||
* // => false
|
||||
*/
|
||||
function lt(value, other) {
|
||||
return value < other;
|
||||
}
|
||||
var lt = createRelationalOperation(baseLt);
|
||||
|
||||
module.exports = lt;
|
||||
|
||||
Reference in New Issue
Block a user