W3cubDocs

/Kotlin

appendLine

Platform and version requirements: JVM (1.4)
fun StringBuilder.appendLine(
    value: StringBuffer?
): StringBuilder
fun StringBuilder.appendLine(
    value: StringBuilder?
): StringBuilder
fun StringBuilder.appendLine(value: Int): StringBuilder
fun StringBuilder.appendLine(value: Short): StringBuilder
fun StringBuilder.appendLine(value: Byte): StringBuilder
fun StringBuilder.appendLine(value: Long): StringBuilder
fun StringBuilder.appendLine(value: Float): StringBuilder
fun StringBuilder.appendLine(value: Double): StringBuilder

Appends value to this StringBuilder, followed by a line feed character (\n).

© 2010–2020 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/java.lang.-string-builder/append-line.html