// (C) 2024-2025 GoodData Corporation
import { isEmpty } from "lodash-es";
/**
 * Type-guard that tests whether an object is an instance of {@link IDashboardDependentDateFilter}.
 *
 * @param obj - object to test
 * @internal
 */
export function isDashboardDependentDateFilter(obj) {
    const w = obj;
    return (!isEmpty(w) && w.type === "relative") || w.type === "absolute";
}
//# sourceMappingURL=dateFilterTypes.js.map