4.17.11
3.10.1
2.4.2
1.3.1

_.lte(value, other)

Checks if value is less than or equal to other.

Since

3.9.0

Arguments

argument
value
other
type
*
*
description
The value to compare.
The other value to compare.

Returns

(array)

Example

_.lte(1, 3);
// => true

_.lte(3, 3);
// => true

_.lte(3, 1);
// => false
_.lte(1, 3);
// => true

_.lte(3, 3);
// => true

_.lte(3, 1);
// => false