The `Greater` primitive wrapper object
Greater {}
The Greater primitive wrapper objectarrow-up-right represents the primitive value of the numberarrow-up-right type greater than the given.
Greater
number
greater.class.ts
public get [Symbol.toStringTag](): string The getarrow-up-right accessor, with the help of toStringTagarrow-up-right, changes the default tag to 'Greater' for an instance of Greater.
get
toStringTag
'Greater'
public static create(): Greater<Value> Creates the Greater instance with the given primitive value.
value
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 objectarrow-up-right is greater than the given value.
object
public thanEvery(): boolean Checks whether the primitive value of a specified objectarrow-up-right is greater than every value of the given values.
values
public thanSome(): boolean Checks whether the primitive value of a specified objectarrow-up-right is greater than some given values.
public valueOf(): Value Returns the primitive valuearrow-up-right of a specified objectarrow-up-right.
Last updated 2 years ago