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

19 lines
488 B
JSON

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