isNoopAllTimeDashboardDateFilter()
Home > @gooddata/sdk-model > isNoopAllTimeDashboardDateFilter
isNoopAllTimeDashboardDateFilter() function
This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Type-guard testing whether the provided object is a noop "All time" dashboard date filter.
Signature:
export declare function isNoopAllTimeDashboardDateFilter(obj: unknown): boolean;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
obj |
unknown |
Returns:
boolean
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).