Lodash _.gt() Method
The _.gt() method is used to find the value is greater than other or not. It returns true, if the value is greater than the other value. Otherwise, it returns false.
Parameters: This method accepts two parameters as mentioned above and described below:
- value: This parameter holds the value to compare.
- other: This parameter holds the other value to compare.
Return Value: This method returns true if value is greater than the other value, else false.