{"version":3,"file":"properties.mjs","names":[],"sources":["../../src/util/properties.ts"],"sourcesContent":["import type {StylePropertySpecification} from '..';\n\nexport function supportsPropertyExpression(spec: StylePropertySpecification): boolean {\n return (\n spec['property-type'] === 'data-driven' ||\n spec['property-type'] === 'cross-faded-data-driven'\n );\n}\n\nexport function supportsZoomExpression(spec: StylePropertySpecification): boolean {\n return !!spec.expression && spec.expression.parameters.indexOf('zoom') > -1;\n}\n\nexport function supportsInterpolation(spec: StylePropertySpecification): boolean {\n return !!spec.expression && spec.expression.interpolated;\n}\n"],"mappings":";AAEA,SAAgB,2BAA2B,MAA2C;CAClF,OACI,KAAK,qBAAqB,iBAC1B,KAAK,qBAAqB;AAElC;AAEA,SAAgB,uBAAuB,MAA2C;CAC9E,OAAO,CAAC,CAAC,KAAK,cAAc,KAAK,WAAW,WAAW,QAAQ,MAAM,IAAI;AAC7E;AAEA,SAAgB,sBAAsB,MAA2C;CAC7E,OAAO,CAAC,CAAC,KAAK,cAAc,KAAK,WAAW;AAChD"}