_.lt

_.lt(value, other)

source npm package

Checks if value is less than other.

Since

3.9.0

Arguments

  1. value (*): The value to compare.
  2. 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