{ "expression": ["number", ["get", "x"]], "inputs": [ [{}, {"properties": {"x": 1}}], [{}, {"properties": {"x": "1"}}], [{}, {"properties": {"x": false}}], [{}, {"properties": {"x": null}}] ], "expected": { "compiled": { "result": "success", "isFeatureConstant": false, "isZoomConstant": true, "type": "number" }, "outputs": [ 1, { "error": "Expected value to be of type number, but found string instead." }, { "error": "Expected value to be of type number, but found boolean instead." }, {"error": "Expected value to be of type number, but found null instead."} ], "serialized": ["number", ["get", "x"]] } }