Documentation / dataflow / com.femastudios.dataflow.extensions / kotlin.ranges.ClosedRange / contains
Go to reference

contains

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