Overview

The `Inequality` primitive wrapper object

Inequality {}

The Inequality abstract primitive wrapper objectarrow-up-right represents the primitive value greater or less than the given.

inequality.class.ts

Accessors

public get greater(): Greater<Value> The getarrow-up-right 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 getarrow-up-right 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 objectarrow-up-right indicates the value of the numberarrow-up-right type greater than the given.

#less: Less<Value> Private property of the Less primitive wrapper objectarrow-up-right indicates the value of numberarrow-up-right type less than the given.

Methods

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

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

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

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

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

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

Last updated