Methods

mapkvΒΆ

mapkv(h:Hash, mapper:Fun)

Map Hash keys and values. Build new Hash with keys and values mapped by mapper.
Source: stdlib.ngs:1683

h

Source hash

mapper

Function to be called with keys and values

Example

mapkv({"a": 1}, {[A+"zz", B+10]})  # {"azz": 11}