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