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

contains

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

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

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>> Attribute<ClosedFloatingPointRange<in T>>.contains(value: T): Attribute<Boolean>
fun <T : Comparable<T>> Attribute<ClosedFloatingPointRange<in T>>.contains(value: Attribute<T>): Attribute<Boolean>

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

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>> Attribute<ClosedRange<in T>>.contains(value: T): Attribute<Boolean>
fun <T : Comparable<T>> Attribute<ClosedRange<in T>>.contains(value: Attribute<T>): Attribute<Boolean>

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

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> Attribute<Collection<E>>.contains(element: E): Attribute<Boolean>
fun <E> Attribute<Collection<E>>.contains(element: Attribute<E>): Attribute<Boolean>

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

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> Attribute<Iterable<T>>.contains(element: T): Attribute<Boolean>
fun <T> Attribute<Iterable<T>>.contains(element: Attribute<T>): Attribute<Boolean>
fun <K, V> Attribute<Map<K, V>>.contains(key: K): Attribute<Boolean>
fun <K, V> Attribute<Map<K, V>>.contains(key: Attribute<K>): Attribute<Boolean>

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

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> Attribute<Sequence<T>>.contains(element: T): Attribute<Boolean>
fun <T> Attribute<Sequence<T>>.contains(element: Attribute<T>): Attribute<Boolean>

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

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> Attribute<Set<E>>.contains(element: E): Attribute<Boolean>
fun <E> Attribute<Set<E>>.contains(element: Attribute<E>): Attribute<Boolean>

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

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 Attribute<String>.contains(other: Attribute<String>, ignoreCase: Attribute<Boolean> = com.femastudios.dataflow.async.util.attributeOf(false)): Attribute<Boolean>
@JvmOverloads @JvmName("contains") fun Attribute<String>.contains(other: String, ignoreCase: Boolean = false): Attribute<Boolean>
@JvmOverloads @JvmName("containsChar") fun Attribute<String>.contains(char: Attribute<Char>, ignoreCase: Attribute<Boolean> = com.femastudios.dataflow.async.util.attributeOf(false)): Attribute<Boolean>
@JvmOverloads @JvmName("containsChar") fun Attribute<String>.contains(char: Char, ignoreCase: Boolean = false): Attribute<Boolean>
@JvmName("contains") fun Attribute<String>.contains(other: Attribute<String>, ignoreCase: Boolean = false): Attribute<Boolean>
@JvmName("contains") fun Attribute<String>.contains(other: String, ignoreCase: Attribute<Boolean>): Attribute<Boolean>
@JvmName("containsChar") fun Attribute<String>.contains(char: Attribute<Char>, ignoreCase: Boolean = false): Attribute<Boolean>
@JvmName("containsChar") fun Attribute<String>.contains(char: Char, ignoreCase: Attribute<Boolean>): Attribute<Boolean>
@JvmName("containsRegex") fun Attribute<String>.contains(regex: Attribute<Regex>): Attribute<Boolean>
@JvmName("containsRegex") fun Attribute<String>.contains(regex: Regex): Attribute<Boolean>

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

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