code: def clean_text(text: "SupportsStr") -> str:
      """Convert an object to text, dedent it, and strip whitespace."""
      return textwrap.dedent(str(text)).strip()
  
file_path: streamlit/lib/streamlit/string_util.py
imports: import re
  import textwrap
  from typing import TYPE_CHECKING, Any, Optional, Tuple, cast
  from streamlit.emojis import ALL_EMOJIS
  from streamlit.errors import StreamlitAPIException
label_desc: Use image node_id 2 for calling a global function with example usage: clean_text(text) and returns: textwrap