mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-02 16:17:50 +00:00
Bump to v4.11.2.
This commit is contained in:
7
lt.js
7
lt.js
@@ -1,4 +1,4 @@
|
||||
define([], function() {
|
||||
define(['./_baseLt', './_createRelationalOperation'], function(baseLt, createRelationalOperation) {
|
||||
|
||||
/**
|
||||
* Checks if `value` is less than `other`.
|
||||
@@ -11,6 +11,7 @@ define([], function() {
|
||||
* @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);
|
||||
@@ -22,9 +23,7 @@ define([], function() {
|
||||
* _.lt(3, 1);
|
||||
* // => false
|
||||
*/
|
||||
function lt(value, other) {
|
||||
return value < other;
|
||||
}
|
||||
var lt = createRelationalOperation(baseLt);
|
||||
|
||||
return lt;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user