lte

Lang
since 3.9.0

Arguments

  • * The value to compare.
  • * The other value to compare.

Returns

boolean `true` if `value` is less than or equal to `other`, else `false`.

Checks if value is less than or equal to other.

Example of Lodash _.lte

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

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

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