docs: def atoi(text: str) -> Union[int, str]:
      """
      Converts strings to integers if they're composed of digits; otherwise
      returns the strings unchanged. One way of sorting strings with numbers;
      it will mean that ``"11"`` is more than ``"2"``.
      """
      return int(text) if text.isdigit() else text