"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.GridFilterInternalApi = void 0;
const ApiBase_1 = require("../Implementation/ApiBase");
class GridFilterInternalApi extends ApiBase_1.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;
    }
}
exports.GridFilterInternalApi = GridFilterInternalApi;
