stringifyOrElseToString

Creates a string representation of the given object or use toString, if no string representation can be created.

Return

the string representation of the given object

Parameters

object

the object to create a string representation for