Block.toString() method
Create a human-readable text representation of this block and any children.
Signature:
toString(opt_maxLength?: number, opt_emptyToken?: string): string;
Parameters
Parameter | Type | Description |
---|---|---|
opt_maxLength | number | (Optional) Truncate the string to this length. |
opt_emptyToken | string | (Optional) The placeholder string used to denote an empty input. If not specified, '?' is used. |
Returns:
string
Text of block.