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

coerceIn

fun Field<Byte>.coerceIn(minimumValue: Field<Byte>, maximumValue: Field<Byte>): Field<Byte>
fun Field<Byte>.coerceIn(minimumValue: Field<Byte>, maximumValue: Byte): Field<Byte>
fun Field<Byte>.coerceIn(minimumValue: Byte, maximumValue: Field<Byte>): Field<Byte>
fun Field<Byte>.coerceIn(minimumValue: Byte, maximumValue: Byte): Field<Byte>
@JvmName("coerceIn") fun <T : Comparable<T>> Field<T>.coerceIn(minimumValue: T?, maximumValue: T?): Field<T>
@JvmName("coerceIn") fun <T : Comparable<T>> Field<T>.coerceIn(minimumValue: T?, maximumValue: Field<T?>?): Field<T>
@JvmName("coerceIn") fun <T : Comparable<T>> Field<T>.coerceIn(minimumValue: Field<T?>?, maximumValue: T?): Field<T>
@JvmName("coerceIn") fun <T : Comparable<T>> Field<T>.coerceIn(minimumValue: Field<T?>?, maximumValue: Field<T?>?): Field<T>
@JvmName("coerceIn") fun <T : Comparable<T>> Field<T>.coerceIn(range: Field<ClosedRange<T>>): Field<T>
@JvmName("coerceIn") fun <T : Comparable<T>> Field<T>.coerceIn(range: ClosedRange<T>): Field<T>
@JvmName("coerceInClosedFloatingPointRange") fun <T : Comparable<T>> Field<T>.coerceIn(range: Field<ClosedFloatingPointRange<T>>): Field<T>
@JvmName("coerceInClosedFloatingPointRange") fun <T : Comparable<T>> Field<T>.coerceIn(range: ClosedFloatingPointRange<T>): Field<T>
fun Field<Double>.coerceIn(minimumValue: Field<Double>, maximumValue: Field<Double>): Field<Double>
fun Field<Double>.coerceIn(minimumValue: Field<Double>, maximumValue: Double): Field<Double>
fun Field<Double>.coerceIn(minimumValue: Double, maximumValue: Field<Double>): Field<Double>
fun Field<Double>.coerceIn(minimumValue: Double, maximumValue: Double): Field<Double>
fun Field<Float>.coerceIn(minimumValue: Field<Float>, maximumValue: Field<Float>): Field<Float>
fun Field<Float>.coerceIn(minimumValue: Field<Float>, maximumValue: Float): Field<Float>
fun Field<Float>.coerceIn(minimumValue: Float, maximumValue: Field<Float>): Field<Float>
fun Field<Float>.coerceIn(minimumValue: Float, maximumValue: Float): Field<Float>
fun Field<Int>.coerceIn(minimumValue: Field<Int>, maximumValue: Field<Int>): Field<Int>
fun Field<Int>.coerceIn(minimumValue: Field<Int>, maximumValue: Int): Field<Int>
fun Field<Int>.coerceIn(minimumValue: Int, maximumValue: Field<Int>): Field<Int>
fun Field<Int>.coerceIn(minimumValue: Int, maximumValue: Int): Field<Int>
fun Field<Int>.coerceIn(range: Field<ClosedRange<Int>>): Field<Int>
fun Field<Int>.coerceIn(range: ClosedRange<Int>): Field<Int>
fun Field<Long>.coerceIn(minimumValue: Field<Long>, maximumValue: Field<Long>): Field<Long>
fun Field<Long>.coerceIn(minimumValue: Field<Long>, maximumValue: Long): Field<Long>
fun Field<Long>.coerceIn(minimumValue: Long, maximumValue: Field<Long>): Field<Long>
fun Field<Long>.coerceIn(minimumValue: Long, maximumValue: Long): Field<Long>
fun Field<Long>.coerceIn(range: Field<ClosedRange<Long>>): Field<Long>
fun Field<Long>.coerceIn(range: ClosedRange<Long>): Field<Long>
fun Field<Short>.coerceIn(minimumValue: Field<Short>, maximumValue: Field<Short>): Field<Short>
fun Field<Short>.coerceIn(minimumValue: Field<Short>, maximumValue: Short): Field<Short>
fun Field<Short>.coerceIn(minimumValue: Short, maximumValue: Field<Short>): Field<Short>
fun Field<Short>.coerceIn(minimumValue: Short, maximumValue: Short): Field<Short>

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

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

This is simply a convenience function.

See Also

kotlin.ranges.coerceIn


@JvmName("coerceIn") fun <T : Comparable<T>> T.coerceIn(minimumValue: T?, maximumValue: Field<T?>?): Field<T>
@JvmName("coerceIn") fun <T : Comparable<T>> T.coerceIn(minimumValue: Field<T?>?, maximumValue: T?): Field<T>
@JvmName("coerceIn") fun <T : Comparable<T>> T.coerceIn(minimumValue: Field<T?>?, maximumValue: Field<T?>?): Field<T>
@JvmName("coerceIn") fun <T : Comparable<T>> T.coerceIn(range: Field<ClosedRange<T>>): Field<T>
@JvmName("coerceInClosedFloatingPointRange") fun <T : Comparable<T>> T.coerceIn(range: Field<ClosedFloatingPointRange<T>>): Field<T>

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

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

This is simply a convenience function.

See Also

kotlin.ranges.coerceIn