Skip to content

Class: NumberUtils

Constructors

new NumberUtils()

new NumberUtils(): NumberUtils

Returns

NumberUtils

Properties

UINT16_MAX

static UINT16_MAX: number

Defined in

@nimiq/core/lib/index.d.ts:87


UINT32_MAX

static UINT32_MAX: number

Defined in

@nimiq/core/lib/index.d.ts:88


UINT64_MAX

static UINT64_MAX: number

Defined in

@nimiq/core/lib/index.d.ts:89


UINT8_MAX

static UINT8_MAX: number

Defined in

@nimiq/core/lib/index.d.ts:86

Methods

isInteger()

static isInteger(val): val is number

Parameters

val: unknown

Returns

val is number

Defined in

@nimiq/core/lib/index.d.ts:90


isUint16()

static isUint16(val): boolean

Parameters

val: unknown

Returns

boolean

Defined in

@nimiq/core/lib/index.d.ts:92


isUint32()

static isUint32(val): boolean

Parameters

val: unknown

Returns

boolean

Defined in

@nimiq/core/lib/index.d.ts:93


isUint64()

static isUint64(val): boolean

Parameters

val: unknown

Returns

boolean

Defined in

@nimiq/core/lib/index.d.ts:94


isUint8()

static isUint8(val): boolean

Parameters

val: unknown

Returns

boolean

Defined in

@nimiq/core/lib/index.d.ts:91