text

fun text(separator: CharSequence = "", includeThoughts: Boolean = false): String

Returns the text of every text Part joined with separator (none by default), skipping parts that carry no text and, unless includeThoughts is true, parts marked as thoughts.