"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getOptionalPredicateStringsByKey = void 0;
const util_1 = require("../../../util");
const getPredicateValuesByKey_1 = require("./getPredicateValuesByKey");
const getOptionalPredicateStringsByKey = (filters, predicateKey) => {
    const predicateValues = (0, getPredicateValuesByKey_1.getPredicateValuesByKey)(filters, predicateKey);
    const str = predicateValues.filter(util_1.unique).join(",");
    if (str) {
        return str;
    }
};
exports.getOptionalPredicateStringsByKey = getOptionalPredicateStringsByKey;
//# sourceMappingURL=getOptionalPredicateStringsByKey.js.map