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