Documentation / dataflow-async / com.femastudios.dataflow.async.extensions / kotlin.Byte / coerceAtMost
Go to reference

coerceAtMost

fun Byte.coerceAtMost(maximumValue: Attribute<Byte>): Attribute<Byte>

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

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

This is simply a convenience function.

See Also

kotlin.ranges.coerceAtMost