blockly > FieldCheckbox > getText

FieldCheckbox.getText() method

Get the text of this field. Used when the block is collapsed.

Signature:

getText(): string;

Returns:

string

Text representing the value of this field ('true' or 'false').