@yext/search-headless
Version:
A library for powering UI components for Yext Search integrations
18 lines • 868 B
TypeScript
import { FieldValueFilter, StaticFilter } from '@yext/search-core';
/**
* Returns true if the two given field value filters are the same.
*
* @param thisFilter - The first field value filter to compare
* @param otherFilter - The second field value filter to compare
* @returns Whether the two field value filters are the same or not
*/
export declare function areFieldValueFiltersEqual(thisFilter: FieldValueFilter, otherFilter: FieldValueFilter): boolean;
/**
* Returns true if the two given static filters are the same.
*
* @param thisFilter - The first static filter to compare
* @param otherFilter - The second static filter to compare
* @returns Whether the two static filters are the same or not
*/
export declare function areStaticFiltersEqual(thisFilter: StaticFilter, otherFilter: StaticFilter): boolean;
//# sourceMappingURL=filter-utils.d.ts.map