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

25 lines
456 B
JSON

{
"expression": ["get", "p"],
"propertySpec": {
"type": "string"
},
"inputs": [
[{}, {"properties": {}}],
[{}, {"properties": {"p": 0}}],
[{}, {"properties": {"p": "a"}}]
],
"expected": {
"compiled": {
"result": "success",
"isFeatureConstant": false,
"isZoomConstant": true,
"type": "string"
},
"outputs": ["", "0", "a"],
"serialized": [
"to-string",
["get", "p"]
]
}
}