blockly >FieldVariable >getValue

FieldVariable.getValue() 方法

获取变量的 ID。

Signature:

getValue(): string | null;

返回

字符串 |null

当前变量的 ID。