blockly > IVariableModel > getType

IVariableModel.getType() method

Returns the type of the variable like 'int' or 'string'. Does not need to be unique. This will default to '' which is a specific type.

Signature:

getType(): string;

Returns:

string