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