Overview
The `Greater` primitive wrapper object
Greater {}
Greater {}The Greater primitive wrapper object represents the primitive value of the number type greater than the given.
greater.class.tsAccessors
public get [Symbol.toStringTag](): string
The get accessor, with the help of toStringTag, changes the default tag to 'Greater' for an instance of Greater.
Methods
public static isGreater(): value is Greater<Value>
Checks whether the given value is the Greater instance of any or given primitive value.
public than(): boolean
Checks whether the primitive value of a specified object is greater than the given value.
public thanEvery(): boolean
Checks whether the primitive value of a specified object is greater than every value of the given values.
public thanSome(): boolean
Checks whether the primitive value of a specified object is greater than some given values.
public valueOf(): Value
Returns the primitive value of a specified object.
Last updated
Was this helpful?
