wishthis/node_modules/rxjs/dist/cjs/internal/operators/findIndex.js
2022-06-08 12:36:39 +02:00

10 lines
No EOL
361 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.findIndex = void 0;
var lift_1 = require("../util/lift");
var find_1 = require("./find");
function findIndex(predicate, thisArg) {
return lift_1.operate(find_1.createFind(predicate, thisArg, 'index'));
}
exports.findIndex = findIndex;
//# sourceMappingURL=findIndex.js.map