export const getPredicateValuesByKey = (filters, predicateKey) => {
    const toPredicateValuesByKey = (a1, filter) => filter.predicates.reduce((a2, predicate) => Object.entries(predicate).reduce((a3, [key, val]) => key === predicateKey
        ? [...a3, ...(Array.isArray(val) ? val : [val])]
        : a3, a2), a1);
    return filters.reduce(toPredicateValuesByKey, []);
};
//# sourceMappingURL=getPredicateValuesByKey.js.map