W3cubDocs

/Kotlin

appendLine

Platform and version requirements: JVM (1.4), JS (1.4), Native (1.4)
fun Appendable.appendLine(): Appendable

Appends a line feed character (\n) to this Appendable.

Platform and version requirements: JVM (1.4), JS (1.4), Native (1.4)
fun Appendable.appendLine(value: CharSequence?): Appendable
fun Appendable.appendLine(value: Char): Appendable

Appends value to the given Appendable and a line feed character (\n) after it.

Platform and version requirements: JVM (1.4), JS (1.4), Native (1.4)
fun StringBuilder.appendLine(): StringBuilder

Appends a line feed character (\n) to this StringBuilder.

Platform and version requirements: JVM (1.4), JS (1.4), Native (1.4)
fun StringBuilder.appendLine(
    value: CharSequence?
): StringBuilder
Platform and version requirements: JVM (1.4), JS (1.4), Native (1.4)
fun StringBuilder.appendLine(value: String?): StringBuilder
Platform and version requirements: JVM (1.4), JS (1.4), Native (1.4)
fun StringBuilder.appendLine(value: Any?): StringBuilder
Platform and version requirements: JVM (1.4), JS (1.4), Native (1.4)
fun StringBuilder.appendLine(value: CharArray): StringBuilder
Platform and version requirements: JVM (1.4), JS (1.4), Native (1.4)
fun StringBuilder.appendLine(value: Char): StringBuilder
Platform and version requirements: JVM (1.4), JS (1.4), Native (1.4)
fun StringBuilder.appendLine(value: Boolean): StringBuilder
Platform and version requirements: Native (1.4)
fun StringBuilder.appendLine(value: Byte): StringBuilder
Platform and version requirements: Native (1.4)
fun StringBuilder.appendLine(value: Short): StringBuilder
Platform and version requirements: Native (1.4)
fun StringBuilder.appendLine(value: Int): StringBuilder
Platform and version requirements: Native (1.4)
fun StringBuilder.appendLine(value: Long): StringBuilder
Platform and version requirements: Native (1.4)
fun StringBuilder.appendLine(value: Float): StringBuilder
Platform and version requirements: Native (1.4)
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/append-line.html