isNoopAllTimeDateFilter()
Home > @gooddata/sdk-model > isNoopAllTimeDateFilter
isNoopAllTimeDateFilter() function
Type guard checking whether the provided object is a noop "all time" date filter.
Signature:
export declare function isNoopAllTimeDateFilter(obj: unknown): boolean;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
obj |
unknown |
Returns:
boolean
Remarks
This is useful to distinguish between: - a noop "all time" filter (no additional configuration), and - an "all time" filter that carries extra configuration (e.g. empty date values handling).