Overview

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.class.ts

Accessors

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.

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 objectarrow-up-right is greater than the given value.

public thanEvery(): boolean Checks whether the primitive value of a specified objectarrow-up-right is greater than every value of the given 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