kotlin.text.contentEquals

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.