W3cubDocs

/Kotlin

contentEquals

inline fun String.contentEquals(
    charSequence: CharSequence
): Boolean

Platform and version requirements: JVM

Returns true if this string is equal to the contents of the specified CharSequence.

inline fun String.contentEquals(
    stringBuilder: StringBuffer
): Boolean

Platform and version requirements: JVM

Returns true if this string is equal to the contents of the specified StringBuffer.

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