function
Source: layoutTypes.ts ↗
isCustomWidgetBase()
Type-guard that tests whether an object is an instance of ICustomWidgetBase.
export declare function isCustomWidgetBase(obj: unknown): obj is ICustomWidgetBase;
Parameters
Parameter | Type | Description |
|---|---|---|
obj | unknown | object to test |
Returns
obj is ICustomWidgetBase