function
Source: filterConverters.ts ↗
isDashboardFilter()
Type-guard testing whether the provided object is an instance of IDashboardFilter.
export declare function isDashboardFilter(obj: unknown): obj is Exclude<IDashboardFilter, IAbsoluteGranularityDateFilter>;
Parameters
Parameter | Type | Description |
|---|---|---|
obj | unknown |
Returns
obj is Exclude<IDashboardFilter, IAbsoluteGranularityDateFilter>
Remarks
Does not cover the absolute date filter with granularity, isDashboardFilterOfAnyType() does.