@berish/rfp
Version:
Binary secure transport organization protocol for peer communication using function fingerprints
15 lines • 561 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.getArgumentsValues = void 0;
const const_1 = require("../../../const");
function getArgumentsValues(printArgs, argsValue, request) {
return printArgs.map((m, i) => {
if (m === const_1.magicalDictionary.requestArgumentName)
return request;
if (typeof argsValue[i] === 'undefined')
return undefined;
return argsValue[i];
});
}
exports.getArgumentsValues = getArgumentsValues;
//# sourceMappingURL=getArgumentsValues.js.map