map.Apply( map : map, expression : str) : map
Create a new map by applying the expression to each key value pair.
1.9.1 or later
| Name | Type | Description |
| map | map | the map value |
| expression | str | the expression that will be applied to the key value pair |
A map with the specified expression applied to the key value pair.
(NOTE: You cannot change keys once you have created them, therefore, if you try to change the keys using map.apply, it
will complete the given expression. But instead of changing the key, it will put the new expression in the value.)
| Output | ||
| { one : 2, two : 4 } | |
| { one : "one_test", two : "two_test" } |
| Images 0 | ||
|---|---|---|
| No images to display in the gallery. |