isAllTimeDashboardDateFilterWithEmptyValueHandling()
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
Type-guard testing whether the provided object is an All time dashboard date filter with emptyValueHandling explicitly defined.
export declare function isAllTimeDashboardDateFilterWithEmptyValueHandling(obj: unknown): obj is IDashboardDateFilter & {
dateFilter: {
emptyValueHandling: EmptyValues;
};
};
Parameters
Parameter | Type | Description |
|---|---|---|
obj | unknown |
Returns
obj is IDashboardDateFilter & { dateFilter: { emptyValueHandling: EmptyValues; }; }
Remarks
This is useful to distinguish between: - a “noop” All time filter (implicit default, no additional config), and - an All time filter that carries extra configuration (e.g. empty date values handling).