isWidgetDefinition()
Home > @gooddata/sdk-model > isWidgetDefinition
isWidgetDefinition() 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 an instance of IWidgetDefinition.
Signature:
export declare function isWidgetDefinition(obj: unknown): obj is IWidgetDefinition;
Parameters
Parameter | Type | Description |
---|---|---|
obj | unknown |
Returns:
obj is IWidgetDefinition