blockly > Block > toDevString
Block.toDevString() method
This method returns a string describing this Block in developer terms (type name and ID; English only).
Intended to on be used in console logs and errors. If you need a string that uses the user's native language (including block text, field values, and child blocks), use [toString()].
Signature:
toDevString(): string;
Returns:
string
The description.