Harrissou Sant-anna 43a20fed2b Updates on expression functions help
fix examples and description
add/update examples to "cross-link" functions
2020-08-10 08:32:18 +10:00

12 lines
498 B
Plaintext

{
"name": "map_get",
"type": "function",
"groups": ["Maps"],
"description": "Returns the value of a map, given it's key.",
"arguments": [ {"arg":"map","description":"a map"},
{"arg":"key","description":"the key to lookup"}],
"examples": [ { "expression":"map_get(map('1','one','2','two'),'2')", "returns":"'two'"},
{ "expression":"map_get( item_variables('Map 0'), 'map_scale')", "returns":"scale of the item 'Map 0' in the current print layout"}
]
}