isDashboardLayoutItem()
Home > @gooddata/sdk-model > isDashboardLayoutItem
isDashboardLayoutItem() 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 IDashboardLayoutItem.
Signature:
export declare function isDashboardLayoutItem<TWidget>(obj: unknown): obj is IDashboardLayoutItem<TWidget>;
Parameters
Parameter | Type | Description |
---|---|---|
obj | unknown |
Returns:
obj is IDashboardLayoutItem<TWidget>