blockly > Field > isEnabled

Field.isEnabled() method

Check whether this field's value can be changed using the editor when the source block is editable.

Signature:

isEnabled(): boolean;

Returns:

boolean

Whether this field is enabled.