blob: c54245b6994dd5c653536da806dc67aa04b0152c (
plain)
1
2
3
4
5
6
|
import { ExpressionBuilder } from '../../expression.js';
/* @returns an ExpressionBuilder that calls the builtin with the given name */
export function builtin(name: string): ExpressionBuilder {
return values => `${name}(${values.join(', ')})`;
}
|