kotlin-stdlib / kotlin / Result / toString toString Common JVM JS Native 1.0 fun toString(): String Returns a string Success(v) if this instance represents success where v is a string representation of the value or a string Failure(x) if it is failure where x is a string representation of the exception.