"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.findIndex = void 0;
const Observable_js_1 = require("../Observable.js");
const find_js_1 = require("./find.js");
function findIndex(predicate) {
    return (source) => new Observable_js_1.Observable((subscriber) => (0, find_js_1.createFind)(predicate, 'index', source, subscriber));
}
exports.findIndex = findIndex;