lt()

Determines if one value is less than another value.

This function is valid in v2.8.0 to v2.11.0. This function has been downloaded 10 times.

Parameters

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

Returns

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

Required Functions

This function requires the following functions which are included automatically:

  • eq()
    Determines if one value is equal to (==) another value.
  • eqs()
    Determines if one value is strictly equal to (===) another value.
  • gt()
    Determines if one value is greater than another value.
  • gte()
    Determines if one value is greater than or equal to another value.
  • lte()
    Determines if one value is less than or equal to another value.
  • ne()
    Determines if one value is not equal to (!=) another value.
  • nes()
    Determines if one value is strictly not equal to (!==) another value.