@adaptabletools/adaptable
Version: 
Powerful data-agnostic HTML5 AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements
13 lines (12 loc) • 404 B
JavaScript
import { ApiBase } from '../Implementation/ApiBase';
export class GridFilterInternalApi extends ApiBase {
    /**
     * Compares to Grid Filter to see if they are identical
     */
    isGridFilterDifferent(oldFilter, newFilter) {
        if (oldFilter == undefined && newFilter == undefined) {
            return false;
        }
        return oldFilter?.Expression !== newFilter?.Expression;
    }
}