ix
Version:
The Interactive Extensions for JavaScript
14 lines (12 loc) • 512 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const asynciterablex_1 = require("../../asynciterable/asynciterablex");
const zip_1 = require("../../asynciterable/zip");
function zipProto(...args) {
let [arg1, ...sources] = args;
sources = typeof arg1 === 'function' ? [this, ...sources] : (arg1 = this) && args;
return zip_1.zip(arg1, ...sources);
}
exports.zipProto = zipProto;
asynciterablex_1.AsyncIterableX.prototype.zip = zipProto;
//# sourceMappingURL=zip.js.map