Home > @shopware-pwa/helpers > toggleSearchFilter
# toggleSearchFilter() function
It creates new selected filters object based on the filter existence
Signature:
export declare function toggleSearchFilter(currentFilters: any, filter: ListingFilter): any;
# Parameters
Parameter | Type | Description |
---|---|---|
currentFilters | any | |
filter | ListingFilter |
Returns:
any