Meeseeks.Result.own_text

You're seeing just the function own_text, go back to Meeseeks.Result module for more information.
Link to this function

own_text(result, opts \\ [])

View Source

Specs

own_text(t(), Keyword.t()) :: String.t()

Returns the combined text of result or result's children, which may be an empty string.

Once the text has been combined the whitespace is compacted by replacing all instances of more than one whitespace character with a single space and then trimmed.

Options

  • :collapse_whitespace - Boolean determining whether or not to replace blocks of whitespace with a single space character. Defaults to true.
  • :trim - Boolean determining whether or not to trim the resulting text. Defaults to true.