Skip to main content

Reference / Modules / client / HashString

Class: HashString

client.HashString

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new HashString(hash, value?): HashString

Parameters

NameType
hashHash
value?string

Returns

HashString

Defined in

packages/client/src/Hash.ts:119

Properties

hash

Readonly hash: Hash

Defined in

packages/client/src/Hash.ts:124


value

Optional Readonly value: string

Defined in

packages/client/src/Hash.ts:125

Methods

isValidValue

isValidValue(): boolean

Returns

boolean

Defined in

packages/client/src/Hash.ts:131


validValue

validValue(): string

Returns

string

Defined in

packages/client/src/Hash.ts:135


fromValue

fromValue(value): HashString

Parameters

NameType
valuestring

Returns

HashString

Defined in

packages/client/src/Hash.ts:115


isValidValue

isValidValue(hash, value?): value is string

Parameters

NameType
hashHash
value?string

Returns

value is string

Defined in

packages/client/src/Hash.ts:127