Function: isIcon()
function isIcon(obj): obj is IIcon;
Defined in: packages/blockly/core/interfaces/i_icon.ts:99
Type guard that checks whether the given object is an IIcon.
Parameters
| Parameter | Type |
|---|---|
obj | any |
Returns
obj is IIcon
function isIcon(obj): obj is IIcon;
Defined in: packages/blockly/core/interfaces/i_icon.ts:99
Type guard that checks whether the given object is an IIcon.
| Parameter | Type |
|---|---|
obj | any |
obj is IIcon