mirror of
				https://github.com/qgis/QGIS.git
				synced 2025-11-04 00:04:25 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
		
			379 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			379 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
{
 | 
						|
  "name": "OR",
 | 
						|
  "type": "operator",
 | 
						|
  "description": "Returns 1 when condition a or b is true.",
 | 
						|
  "arguments": [
 | 
						|
	{"arg":"a","description":"condition"},
 | 
						|
	{"arg":"b","description":"condition"}
 | 
						|
  ],
 | 
						|
  "examples": [
 | 
						|
	{ "expression":"4 = 2+2 OR 1 = 1", "returns":"1"},
 | 
						|
	{ "expression":"4 = 2+2 OR 1 = 2", "returns":"1"},
 | 
						|
	{ "expression":"4 = 2   OR 1 = 2", "returns":"0"}
 | 
						|
  ]
 | 
						|
}
 |