lt source npm
_.lt(value, other)
Checks if value
is less than other
.
Arguments
- value (*)
The value to compare.
- other (*)
The other value to compare.
Returns (boolean)
Returns true
if value
is less than other
, else false
.
Example
_.lt(1, 3);
// => true
_.lt(3, 3);
// => false
_.lt(3, 1);
// => false