import { unique } from "../../../util";
import { getPredicateValuesByKey } from "./getPredicateValuesByKey";
export const getOptionalPredicateStringsByKey = (filters, predicateKey) => {
    const predicateValues = getPredicateValuesByKey(filters, predicateKey);
    const str = predicateValues.filter(unique).join(",");
    if (str) {
        return str;
    }
};
//# sourceMappingURL=getOptionalPredicateStringsByKey.js.map