Documentation / dataflow-async / com.femastudios.dataflow.async.extensions / kotlin.ranges.ClosedFloatingPointRange / lessThanOrEquals
Go to reference
Go to reference
lessThanOrEquals
fun <T : Comparable<T>> ClosedFloatingPointRange<in T>.lessThanOrEquals(a: T, b: Attribute<T>): Attribute<Boolean>
fun <T : Comparable<T>> ClosedFloatingPointRange<in T>.lessThanOrEquals(a: Attribute<T>, b: T): Attribute<Boolean>
fun <T : Comparable<T>> ClosedFloatingPointRange<in T>.lessThanOrEquals(a: Attribute<T>, b: Attribute<T>): Attribute<Boolean>
Same as lessThanOrEquals, but accepts Attribute and returns a new Attribute.
Calling this function is equivalent to use transform and calling lessThanOrEquals in the transformation function.
This is simply a convenience function.
See Also