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:317


UINT32_MAX

static UINT32_MAX: number

Defined in

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


UINT64_MAX

static UINT64_MAX: number

Defined in

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


UINT8_MAX

static UINT8_MAX: number

Defined in

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

Methods

isInteger()

static isInteger(val): val is number

Parameters

val: unknown

Returns

val is number

Defined in

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


isUint16()

static isUint16(val): boolean

Parameters

val: unknown

Returns

boolean

Defined in

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


isUint32()

static isUint32(val): boolean

Parameters

val: unknown

Returns

boolean

Defined in

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


isUint64()

static isUint64(val): boolean

Parameters

val: unknown

Returns

boolean

Defined in

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


isUint8()

static isUint8(val): boolean

Parameters

val: unknown

Returns

boolean

Defined in

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