Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
public async testOperation(pattern: Algebra.Group, context: ActionContext): Promise {
for (const i in pattern.aggregates) {
// Will throw for unsupported expressions
const _ = new SyncEvaluator(pattern.aggregates[i].expression);
}
return true;
}