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

endsWith

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

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

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