isDashboardEventOrCustomDashboardEvent()
Home > @gooddata/sdk-ui-dashboard > isDashboardEventOrCustomDashboardEvent
isDashboardEventOrCustomDashboardEvent() function
Tests whether object is an instance of IDashboardEvent or ICustomDashboardEvent.
Signature:
export declare function isDashboardEventOrCustomDashboardEvent(obj: unknown): obj is IDashboardEvent | ICustomDashboardEvent;
Parameters
Parameter | Type | Description |
---|---|---|
obj | unknown | object to test |
Returns:
obj is IDashboardEvent | ICustomDashboardEvent