"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.AbstractPredicateOp = void 0;
const AbstractOp_1 = require("./AbstractOp");
class AbstractPredicateOp extends AbstractOp_1.AbstractOp {
    apply(doc) {
        const test = this.test(doc);
        if (!test)
            throw new Error('TEST');
        return { doc };
    }
}
exports.AbstractPredicateOp = AbstractPredicateOp;
//# sourceMappingURL=AbstractPredicateOp.js.map