Skip to content

Class: StringUtils

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

Constructors

new StringUtils()

new StringUtils(): StringUtils

Returns

StringUtils

Methods

isHex()

static isHex(str): boolean

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

Parameters

str

string

Returns

boolean


isHexBytes()

static isHexBytes(str, length?): boolean

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

Parameters

str

string

length?

number

Returns

boolean


isWellFormed()

static isWellFormed(str): boolean

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

Parameters

str

string

Returns

boolean