Abstract ClassesFieldblockly.field.gettextOn this pageHome > blockly > Field > getText Field.getText() method Get the text from this field. Override getText_ to provide a different behavior than simply casting the value to a string. Signature: /** @sealed */getText(): string; Returns: string Current text.