blockly > IIcon > getType

IIcon.getType() method

Signature:

getType(): IconType<IIcon>;

Returns:

IconType<IIcon>

the IconType representing the type of the icon. This value should also be used to register the icon via Blockly.icons.registry.register.