static isGreater()
Checks whether the given value is the Greater instance of any or given primitive value
Greater.isGreater()
Greater.isGreater()
Checks whether the given value
is the Greater
instance of any or given primitive value.
greater.class.ts
Generic type variables
A generic type variable indicates captured type of the supplied greaterValue
via the return type.
Parameters
The value of any
type to test against the Greater
instance.
An optional value of generic type variable Value
to check whether it's the primitive value of the given value
.
Return type
The return type is a boolean
resulting from its statement indicating the value
is the Greater
object that takes the generic type variable Value
.
Returns
The return value is a boolean
indicating whether the given value
is the Greater
instance of any or given primitive value.
Example usage
Last updated