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

contains

fun <T : Comparable<T>> 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