lte()

Determines if one value is less than or equal to another value.

This function is valid in v2.12.0 to v2.13.1. This function has been downloaded 15 times.

Parameters

{*} value1
Value to be checked to see if it is greater than or equal to value2.
{*=} value2 Optional
Value to be checked to see if it is less than or equal to value1.

Returns

{boolean|Function}
If value1 and value2 are given a boolean indicating if value1 is less than or equal to value2 will be returned. Otherwise a partial function will be returned which when called will accept one value and will return a boolean indicating if that value is less than or equal to value1.

Required Function

This function requires the following function which is included automatically:

  • lt()
    Determines if one value is less than another value.