lt source npm

_.lt(value, other)

Checks if value is less than other.

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