W3cubDocs

/Kotlin

Appendable

Platform and version requirements: JS (1.1), Native (1.3)
interface Appendable
Platform and version requirements: JVM (1.1)
typealias Appendable = Appendable

Functions

Platform and version requirements: JS (1.0), Native (1.0)

append

abstract fun append(c: Char): Appendable
abstract fun append(csq: CharSequence?): Appendable
abstract fun append(
    csq: CharSequence?, 
    start: Int, 
    end: Int
): Appendable

Extension Functions

Platform and version requirements: JVM (1.0), JS (1.0), Native (1.0)

append

Appends all arguments to the given Appendable.

fun <T : Appendable> T.append(vararg value: CharSequence?): T

Inheritors

StringBuilder

Platform and version requirements: JS (1.1)
class StringBuilder : Appendable, CharSequence
Platform and version requirements: JVM (1.1)
typealias StringBuilder = StringBuilder
Platform and version requirements: Native (1.3)
class StringBuilder : CharSequence, Appendable

© 2010–2019 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.text/-appendable/index.html