than()
Checks whether the primitive value of a specified object is greater than the given value
Greater.prototype.than()
Greater.prototype.than()public than(value: number): boolean {
return typeof value === 'number' ? this.valueOf() > value : false;
}Parameters
Return type
Returns
Example usage
Last updated