isAllTimeDateFilter()
Home > @gooddata/sdk-model > isAllTimeDateFilter
isAllTimeDateFilter() function
Type guard checking whether the provided object is an all time date filter.
Signature:
export declare function isAllTimeDateFilter(obj: unknown): obj is IRelativeDateFilter & {
relativeDateFilter: {
granularity: "ALL_TIME_GRANULARITY";
};
};
Parameters
Parameter | Type | Description |
---|---|---|
obj | unknown |
Returns:
obj is IRelativeDateFilter & { relativeDateFilter: { granularity: "ALL_TIME_GRANULARITY"; }; }