Methods

The `Greater` primitive wrapper object methods

public static create(): Greater<Value> Creates the Greater instance with the given primitive 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 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