Reference / Modules / client / HashString
Class: HashString
client.HashString
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new HashString(hash
, value?
): HashString
Parameters
Name | Type |
---|---|
hash | Hash |
value? | string |
Returns
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
Name | Type |
---|---|
value | string |
Returns
Defined in
packages/client/src/Hash.ts:115
isValidValue
▸ isValidValue(hash
, value?
): value is string
Parameters
Name | Type |
---|---|
hash | Hash |
value? | string |
Returns
value is string