19 lines
481 B
JSON
19 lines
481 B
JSON
{
|
|
"expression": ["!=", ["number", ["get", "x"]], ["get", "y"]],
|
|
"inputs": [
|
|
[{}, {"properties": {"x": 1, "y": 1}}],
|
|
[{}, {"properties": {"x": 1, "y": "1"}}],
|
|
[{}, {"properties": {"x": 1, "y": 2}}]
|
|
],
|
|
"expected": {
|
|
"compiled": {
|
|
"result": "success",
|
|
"isFeatureConstant": false,
|
|
"isZoomConstant": true,
|
|
"type": "boolean"
|
|
},
|
|
"outputs": [false, true, true],
|
|
"serialized": ["!=", ["number", ["get", "x"]], ["get", "y"]]
|
|
}
|
|
}
|