From a9e05dca158ed3c6f3efe2a37187b8332e00b4c8 Mon Sep 17 00:00:00 2001 From: Harrissou Sant-anna Date: Mon, 8 Mar 2021 12:33:14 +0100 Subject: [PATCH] Fix typo and more details to map_get function --- resources/function_help/json/map_get | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/function_help/json/map_get b/resources/function_help/json/map_get index d55d397da22..a510d4fd24c 100644 --- a/resources/function_help/json/map_get +++ b/resources/function_help/json/map_get @@ -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"} ] }