mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
16 lines
406 B
Plaintext
16 lines
406 B
Plaintext
{
|
|
"name": "OR",
|
|
"type": "operator",
|
|
"groups": ["Operators"],
|
|
"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"}
|
|
]
|
|
}
|