isCustomWidget()
Home > @gooddata/sdk-ui-dashboard > isCustomWidget
isCustomWidget() function
Type-guard that tests whether an object is an instance of ICustomWidget.
Signature:
export declare function isCustomWidget(obj: unknown): obj is ICustomWidget;
Parameters
Parameter | Type | Description |
---|---|---|
obj | unknown | object to test |
Returns:
obj is ICustomWidget