Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function utils(...args) {
if (args[0] && Array.isArray(args[0]) && args[0].raw) {
// We're being used as a tagged template
return jamSession.formulaToExpression(args[0].raw[0]);
} else throw 'Mapbox-gl-utils unexpectedly called as a function. Use .init(map)'
}