eq()

Determines if one value is equal to (==) 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 equal to (==) value2.
{*=} value2 Optional
Value to be checked to see if it is equal to (==) value1.

Returns

{boolean|Function}
If value1 and value2 are given a boolean indicating if value1 is equal to (==) 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 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.