gt source npm

_.gt(value, other)

Checks if value is greater than other.

Arguments

  1. value (*)

    The value to compare.

  2. other (*)

    The other value to compare.

Returns (boolean)

Returns true if value is greater than other, else false.

Example

_.gt(3, 1);
// => true

_.gt(3, 3);
// => false

_.gt(1, 3);
// => false