mapk multimethod
Methods
- mapk(h:Hash, mapper:Fun) Source: stdlib.ngs:3363
Map Hash keys. Build new Hash with same values as in h but keys mapped by mapper. Parameters
h Source hash mapper Function to be called with keys Returns
HashExample
mapk({"a": 1}, F(k) k+"z") # {"az": 1}