Documentation / dataflow-async / com.femastudios.dataflow.async.extensions / contentEquals
Go to reference

contentEquals

@JvmName("contentEqualsStringBuffer") fun Attribute<String>.contentEquals(stringBuilder: Attribute<StringBuffer>): Attribute<Boolean>
fun Attribute<String>.contentEquals(charSequence: Attribute<String>): Attribute<Boolean>
fun Attribute<String>.contentEquals(charSequence: String): Attribute<Boolean>
fun Attribute<String>.contentEquals(stringBuilder: StringBuffer): Attribute<Boolean>

Same as contentEquals, but accepts Attribute and returns a new Attribute.

Calling this function is equivalent to use transform and calling contentEquals in the transformation function.

This is simply a convenience function.

See Also

kotlin.text.contentEquals