isAnyPlaceholderWidget()
Home > @gooddata/sdk-ui-dashboard > isAnyPlaceholderWidget
isAnyPlaceholderWidget() 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.
Tests whether an object is any type of placeholder widgets.
Signature:
export declare function isAnyPlaceholderWidget(obj: unknown): obj is PlaceholderWidget | InsightPlaceholderWidget | KpiPlaceholderWidget;
Parameters
Parameter | Type | Description |
---|---|---|
obj | unknown | object to test |
Returns:
obj is PlaceholderWidget | InsightPlaceholderWidget | KpiPlaceholderWidget