Skip to content

Class: NumberUtils

Defined in: @nimiq/core/lib/index.d.ts:315

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

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

Parameters

val

unknown

Returns

val is number


isUint16()

static isUint16(val): boolean

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

Parameters

val

unknown

Returns

boolean


isUint32()

static isUint32(val): boolean

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

Parameters

val

unknown

Returns

boolean


isUint64()

static isUint64(val): boolean

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

Parameters

val

unknown

Returns

boolean


isUint8()

static isUint8(val): boolean

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

Parameters

val

unknown

Returns

boolean