applyValues(x,f) -- applies f to each value v in the hash table x to produce a new hash table.
Thus f should be a function of one variable v which returns a new value v' for the key k in the resulting hash table.
i1 : x = new HashTable from {a => 1, b => 2, c => 3} |
i2 : applyValues(x, v -> v + 100) |
See also:
Ways to use applyValues :