Files
MapLibreParticleLab/metrics/integration/expression-tests/less/number/test.json
2023-03-25 14:46:49 +01:00

19 lines
502 B
JSON

{
"expression": ["<", ["number", ["get", "x"]], ["number", ["get", "y"]]],
"inputs": [
[{}, {"properties": {"x": 1, "y": 1}}],
[{}, {"properties": {"x": 1, "y": 2}}],
[{}, {"properties": {"x": 2, "y": 1}}]
],
"expected": {
"compiled": {
"result": "success",
"isFeatureConstant": false,
"isZoomConstant": true,
"type": "boolean"
},
"outputs": [false, true, false],
"serialized": ["<", ["number", ["get", "x"]], ["number", ["get", "y"]]]
}
}