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

contains

fun Field<CharCategory>.contains(char: Field<Char>): Field<Boolean>
fun Field<CharCategory>.contains(char: Char): Field<Boolean>

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

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

This is simply a convenience function.

See Also

kotlin.text.CharCategory.contains


fun <T : Comparable<T>> Field<ClosedFloatingPointRange<in T>>.contains(value: T): Field<Boolean>
fun <T : Comparable<T>> Field<ClosedFloatingPointRange<in T>>.contains(value: Field<T>): Field<Boolean>

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

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

This is simply a convenience function.

See Also

kotlin.ranges.ClosedFloatingPointRange.contains


fun <T : Comparable<T>> Field<ClosedRange<in T>>.contains(value: T): Field<Boolean>
fun <T : Comparable<T>> Field<ClosedRange<in T>>.contains(value: Field<T>): Field<Boolean>

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

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

This is simply a convenience function.

See Also

kotlin.ranges.ClosedRange.contains


fun <E> Field<Collection<E>>.contains(element: E): Field<Boolean>
fun <E> Field<Collection<E>>.contains(element: Field<E>): Field<Boolean>

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

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

This is simply a convenience function.

See Also

kotlin.collections.Collection.contains


fun <T> Field<Iterable<T>>.contains(element: T): Field<Boolean>
fun <T> Field<Iterable<T>>.contains(element: Field<T>): Field<Boolean>
fun <K, V> Field<Map<K, V>>.contains(key: K): Field<Boolean>
fun <K, V> Field<Map<K, V>>.contains(key: Field<K>): Field<Boolean>

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

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

This is simply a convenience function.

See Also

kotlin.collections.contains


fun <T> Field<Sequence<T>>.contains(element: T): Field<Boolean>
fun <T> Field<Sequence<T>>.contains(element: Field<T>): Field<Boolean>

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

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

This is simply a convenience function.

See Also

kotlin.sequences.contains


fun <E> Field<Set<E>>.contains(element: E): Field<Boolean>
fun <E> Field<Set<E>>.contains(element: Field<E>): Field<Boolean>

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

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

This is simply a convenience function.

See Also

kotlin.collections.Set.contains


@JvmOverloads @JvmName("contains") fun Field<String>.contains(other: Field<String>, ignoreCase: Field<Boolean> = com.femastudios.dataflow.util.fieldOf(false)): Field<Boolean>
@JvmOverloads @JvmName("contains") fun Field<String>.contains(other: String, ignoreCase: Boolean = false): Field<Boolean>
@JvmOverloads @JvmName("containsChar") fun Field<String>.contains(char: Field<Char>, ignoreCase: Field<Boolean> = com.femastudios.dataflow.util.fieldOf(false)): Field<Boolean>
@JvmOverloads @JvmName("containsChar") fun Field<String>.contains(char: Char, ignoreCase: Boolean = false): Field<Boolean>
@JvmName("contains") fun Field<String>.contains(other: Field<String>, ignoreCase: Boolean = false): Field<Boolean>
@JvmName("contains") fun Field<String>.contains(other: String, ignoreCase: Field<Boolean>): Field<Boolean>
@JvmName("containsChar") fun Field<String>.contains(char: Field<Char>, ignoreCase: Boolean = false): Field<Boolean>
@JvmName("containsChar") fun Field<String>.contains(char: Char, ignoreCase: Field<Boolean>): Field<Boolean>
@JvmName("containsRegex") fun Field<String>.contains(regex: Field<Regex>): Field<Boolean>
@JvmName("containsRegex") fun Field<String>.contains(regex: Regex): Field<Boolean>

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

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

This is simply a convenience function.

See Also

kotlin.text.contains