lt()

Determines if one value is less than another value.

This function is valid in v2.12.0 to v2.24.3. This function has been downloaded 64 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 one value and will return a boolean indicating if that value is less than value1.

Required Functions

This function directly requires the following functions which are included automatically:

  • add()
    Finds the sum of two numbers.
  • andBits()
    Finds the bitwise and of two numbers.
  • divide()
    Finds the quotient of two numbers.
  • 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.
  • multiply()
    Finds the product of two numbers.
  • ne()
    Determines if one value is not equal to (!=) another value.
  • nes()
    Determines if one value is strictly not equal to (!==) another value.
  • orBits()
    Finds the bitwise or of two numbers.
  • rem()
    Finds the remainder after dividing two numbers.
  • subtract()
    Finds the difference of two numbers.
  • xorBits()
    Finds the bitwise xor of two numbers.

Requiring Functions

This function is directly required by the following functions:

  • add()
    Finds the sum of two numbers.
  • andBits()
    Finds the bitwise and of two numbers.
  • divide()
    Finds the quotient of two numbers.
  • 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.
  • multiply()
    Finds the product of two numbers.
  • ne()
    Determines if one value is not equal to (!=) another value.
  • nes()
    Determines if one value is strictly not equal to (!==) another value.
  • orBits()
    Finds the bitwise or of two numbers.
  • rem()
    Finds the remainder after dividing two numbers.
  • subtract()
    Finds the difference of two numbers.
  • xorBits()
    Finds the bitwise xor of two numbers.