Skip to content

Commit

Permalink
Fix typo and more details to map_get function
Browse files Browse the repository at this point in the history
  • Loading branch information
DelazJ committed Mar 8, 2021
1 parent c3e31b0 commit a9e05dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/function_help/json/map_get
Expand Up @@ -2,10 +2,10 @@
"name": "map_get",
"type": "function",
"groups": ["Maps"],
"description": "Returns the value of a map, given it's key.",
"description": "Returns the value of a map, given its key. Returns NULL if the key does not exist.",
"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"}
{ "expression":"map_get( item_variables('Map 0'), 'map_scale')", "returns":"scale of the item 'Map 0' (if it exists) in the current print layout"}
]
}

0 comments on commit a9e05dc

Please sign in to comment.