blockly > IVariableModel > getType

IVariableModel.getType() 方法

返回变量的类型,例如“int”或“string”。无需具有唯一性。这将默认为“'”,这是一种特定类型。

Signature:

getType(): string;

返回

字符串