blockly > Field > referencesVariables

Field.referencesVariables() method

Whether this field references any Blockly variables. If true it may need to be handled differently during serialization and deserialization. Subclasses may override this.

Signature:

referencesVariables(): boolean;

Returns:

boolean

True if this field has any variable references.