kotlin / 1.6.20 / api / latest / jvm / stdlib / kotlin.text / -string-builder / to-string.html /

toString

Platform and version requirements: JS (1.1), Native (1.3)
fun toString(): String

Returns a string representation of the object.

© 2010–2022 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.text/-string-builder/to-string.html