DataMap
@harmoniclabs/plutus-data • Readme | API
@harmoniclabs/plutus-data / DataMap
Class: DataMap<DataKey, DataValue>
Type parameters
• DataKey extends Data
• DataValue extends Data
Constructors
new DataMap(map)
new DataMap<
DataKey
,DataValue
>(map
):DataMap
<DataKey
,DataValue
>
Parameters
• map: DataPair
<DataKey
, DataValue
>[]
Returns
DataMap
<DataKey
, DataValue
>
Source
Properties
_map
private
_map:DataPair
<DataKey
,DataValue
>[]
Source
Accessors
map
get
map():DataPair
<DataKey
,DataValue
>[]
Returns
DataPair
<DataKey
, DataValue
>[]
Source
Methods
clone()
clone():
DataMap
<DataKey
,DataValue
>
Returns
DataMap
<DataKey
, DataValue
>
Source
toJson()
toJson():
Object
Returns
Object
map
map:
Object
[]
Source
toString()
toString():
string
Returns
string