export const transformCustomCheckboxToWQL = (filterName, filterValue) => {
    const filterValueBoolean = filterValue[0];
    if (!filterValueBoolean) {
        return [];
    }
    const condition = { [filterName]: { $eq: true } };
    return filterValueBoolean.value ? [condition] : [{ $not: condition }];
};
//# sourceMappingURL=transformCustomCheckboxToWQL.js.map