blockly > isIcon

isIcon() function

Type guard that checks whether the given object is an IIcon.

Signature:

export declare function isIcon(obj: any): obj is IIcon;

Parameters

Parameter Type Description
obj any

Returns:

obj is IIcon