jok
Version:
Bundle of utility functions for code generation related to nodejs and graphql
11 lines (10 loc) • 337 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
function buildVariablesPassString(inputs) {
if (!inputs.length) {
return '';
}
var items = inputs.map(function (x) { return x.name + ": $" + x.name; }).join(', ');
return "(" + items + ")";
}
exports.default = buildVariablesPassString;