wishthis/node_modules/rxjs/dist/cjs/internal/observable/iif.js
2022-04-07 09:06:43 +02:00

9 lines
No EOL
328 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.iif = void 0;
var defer_1 = require("./defer");
function iif(condition, trueResult, falseResult) {
return defer_1.defer(function () { return (condition() ? trueResult : falseResult); });
}
exports.iif = iif;
//# sourceMappingURL=iif.js.map