Typeberry by Fluffy Labs - v0.4.0
Preparing search index...
lib
block
codecUtils
codecHashDictionary
Function codecHashDictionary
codecHashDictionary
<
K
extends
OpaqueHash
,
T
>
(
value
:
Descriptor
<
T
>
,
extractKey
:
(
val
:
T
)
=>
K
,
__namedParameters
?:
CodecHashDictionaryOptions
<
T
>
,
)
:
Descriptor
<
HashDictionary
<
K
,
T
>
>
Codec for a hash-dictionary.
Type Parameters
K
extends
OpaqueHash
T
Parameters
value
:
Descriptor
<
T
>
extractKey
:
(
val
:
T
)
=>
K
__namedParameters
:
CodecHashDictionaryOptions
<
T
>
= {}
Returns
Descriptor
<
HashDictionary
<
K
,
T
>
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Typeberry by Fluffy Labs - v0.4.0
Loading...
Codec for a hash-dictionary.