Overview

The `Less` primitive wrapper object

Less {}

The Less primitive wrapper object represents the primitive value of number type less than the given.

less.class.ts

Accessors

public get [Symbol.toStringTag](): string The get accessor, with the help of toStringTag, changes the default tag to 'Less' for an instance of Less.

Methods

public static create(): Less<Value> Creates the Less instance with the given primitive value.

public static isLess(): value is Less<Value> Checks whether the given value is the Less instance of any or given primitive value.

public than(): boolean Checks whether the primitive value of a specified object is less than the given value.

public thanEvery(): boolean Checks whether the primitive value of a specified object is less than every value of the given values.

public thanSome(): boolean Checks whether the primitive value of a specified object is less than some given values.

public valueOf(): Value Returns the primitive value of a specified object.

Last updated