Overview

The `Inequality` primitive wrapper object

Inequality {}

The Inequality abstract primitive wrapper object represents the primitive value greater or less than the given.

Accessors

public get greater(): Greater<Value> The get accessor obtains from the private #greater property an instance of the Greater with a primitive value from a given value of the Inequality constructor.

public get less(): Less<Value> The get accessor obtains from the private #less property an instance of the Less with a primitive value from a given value of the Inequality constructor.

Properties

#greater: Greater<Value> Private property of the Greater primitive wrapper object indicates the value of the number type greater than the given.

#less: Less<Value> Private property of the Less primitive wrapper object indicates the value of number type less than the given.

Methods

public greaterThan(): boolean Checks whether the primitive value of a child class instance is greater than the given value.

public greaterThanEvery(): boolean Checks whether the primitive value of a child class instance is greater than every value of the given values.

public greaterThanSome(): boolean Checks whether the primitive value of a child class instance is greater than some given values.

public lessThan(): boolean Checks whether the primitive value of a child class instance is less than the given value.

public lessThanEvery(): boolean Checks whether the primitive value of a child class instance is less than every value of the given values.

public lessThanSome(): boolean Checks whether the primitive value of a child class instance is less than some given values.

Last updated