function
Source: base.ts ↗
isDashboardEventOrCustomDashboardEvent()
Tests whether object is an instance of IDashboardEvent or ICustomDashboardEvent.
export declare function isDashboardEventOrCustomDashboardEvent(obj: unknown): obj is IDashboardEvent | ICustomDashboardEvent;
Parameters
Parameter | Type | Description |
|---|---|---|
obj | unknown | object to test |
Returns
obj is IDashboardEvent | ICustomDashboardEvent