mirror of
				https://github.com/qgis/QGIS.git
				synced 2025-11-04 00:04:25 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
		
			552 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			552 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
{
 | 
						|
  "name": "map_get",
 | 
						|
  "type": "function",
 | 
						|
  "groups": ["Maps"],
 | 
						|
  "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' (if it exists) in the current print layout"}
 | 
						|
  ]
 | 
						|
}
 |