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

endsWith

@JvmOverloads @JvmName("endsWithChar") fun Attribute<String>.endsWith(char: Attribute<Char>, ignoreCase: Attribute<Boolean> = com.femastudios.dataflow.async.util.attributeOf(false)): Attribute<Boolean>
@JvmOverloads @JvmName("endsWithChar") fun Attribute<String>.endsWith(char: Char, ignoreCase: Boolean = false): Attribute<Boolean>
@JvmOverloads fun Attribute<String>.endsWith(suffix: Attribute<String>, ignoreCase: Attribute<Boolean> = com.femastudios.dataflow.async.util.attributeOf(false)): Attribute<Boolean>
@JvmOverloads fun Attribute<String>.endsWith(suffix: String, ignoreCase: Boolean = false): Attribute<Boolean>
@JvmName("endsWithChar") fun Attribute<String>.endsWith(char: Attribute<Char>, ignoreCase: Boolean = false): Attribute<Boolean>
@JvmName("endsWithChar") fun Attribute<String>.endsWith(char: Char, ignoreCase: Attribute<Boolean>): Attribute<Boolean>
fun Attribute<String>.endsWith(suffix: Attribute<String>, ignoreCase: Boolean = false): Attribute<Boolean>
fun Attribute<String>.endsWith(suffix: String, ignoreCase: Attribute<Boolean>): Attribute<Boolean>

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

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

This is simply a convenience function.

See Also

kotlin.text.endsWith