Skip to content

[I] Numeric

Constructors

Properties

PropertyModifierType
isIntegerreadonlyboolean

Methods

asBigInt()

asBigInt(): null | bigint

Returns

null | bigint


asNumber()

asNumber(): null | number

Return the value as JavaScript number or null if it cannot be represented without loosing precision.

Returns

null | number


equals()

equals(value): boolean

Parameters

ParameterType
valueNumeric

Returns

boolean


gt()

gt(value): boolean

Parameters

ParameterType
valueNumeric

Returns

boolean


gte()

gte(value): boolean

Parameters

ParameterType
valueNumeric

Returns

boolean


lt()

lt(value): boolean

Parameters

ParameterType
valueNumeric

Returns

boolean


lte()

lte(value): boolean

Parameters

ParameterType
valueNumeric

Returns

boolean


toString()

toString(): string

Returns

string