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