isWidgetWithFilterSettings()
Home > @gooddata/sdk-model > isWidgetWithFilterSettings
isWidgetWithFilterSettings() 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 widget that can store dashboard filter settings.
Signature:
export declare function isWidgetWithFilterSettings(widget: unknown): widget is IWidget;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
widget |
unknown |
Returns:
widget is IWidget