export const predicateOpWrapper = (fn) => {
    return (doc) => {
        const test = fn(doc);
        if (!test)
            throw new Error('TEST');
        return doc;
    };
};
//# sourceMappingURL=util.js.map