map.select(map : map, condition : str) : map
Create a map that only contains key-value pairs for which the condition succeeds.
1.9.1 or later
| Name | Type | Description |
| map | map | The map value. |
| condition | str | condition to execute for each item (use '$' to refer to the key-value pair) |
a map that has all the key-value pairs that follow the given condition.
| Output | ||
| { one : 2 } | |
| { two : 4 } |
| Images 0 | ||
|---|---|---|
| No images to display in the gallery. |
Copyright © 2011 MindTouch, Inc. Powered by