29 lines
808 B
JSON
29 lines
808 B
JSON
{
|
|
"expression": ["<", ["get", "x"], ["get", "y"]],
|
|
"inputs": [
|
|
[{}, {"properties": {"x": "10", "y": "2"}}],
|
|
[{}, {"properties": {"x": 1, "y": 10}}],
|
|
[{}, {"properties": {"x": "1", "y": 1}}],
|
|
[{}, {"properties": {"x": 1, "y": "1"}}]
|
|
],
|
|
"expected": {
|
|
"compiled": {
|
|
"result": "success",
|
|
"isFeatureConstant": false,
|
|
"isZoomConstant": true,
|
|
"type": "boolean"
|
|
},
|
|
"outputs": [
|
|
true,
|
|
true,
|
|
{
|
|
"error": "Expected arguments for \"<\" to be (string, string) or (number, number), but found (string, number) instead."
|
|
},
|
|
{
|
|
"error": "Expected arguments for \"<\" to be (string, string) or (number, number), but found (number, string) instead."
|
|
}
|
|
],
|
|
"serialized": ["<", ["get", "x"], ["get", "y"]]
|
|
}
|
|
}
|