QGIS/resources/function_help/json/array_minority
Damiano a9edb93e0c array_mode new parameter merge
- array_mode new parameter merge for return value behaviour
- updated expression documentation for array_mode, majority and minority
- updated tests
2021-02-04 16:41:16 +01:00

13 lines
580 B
Plaintext

{
"name": "array_minority",
"type": "function",
"groups": ["Arrays"],
"description": "Returns an array containing the minority values of a given array. All values are minority exept the majority value, if available.",
"arguments": [ {"arg":"array","description":"an array"} ],
"examples": [
{ "expression":"array_minority(array(0,1,42,42,43))", "returns":"[ 0, 1, 42, 43 ]"},
{ "expression":"array_minority(array(0,1,42,42,43,42))", "returns":"[ 0, 1, 42, 43 ]"},
{ "expression":"array_minority(array(0,1,42,42,43,42,42))", "returns":"[ 0, 1, 43 ]"}
]
}