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

compareValuesBy

fun <T> compareValuesBy(a: Field<T>, b: Field<T>, vararg selectors: Field<(T) -> Comparable<*>?>): Field<Int>

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

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

This is simply a convenience function.

See Also

kotlin.comparisons.compareValuesBy