Documentation / dataflow / com.femastudios.dataflow.util / coalesce
Go to reference

coalesce

@SafeVarargs fun <T> coalesce(vararg fields: Field<T>): Field<T>
fun <T> coalesce(fields: List<Field<T>>): Field<T>

Exceptions

IllegalArgumentException - if fields is empty

Return
A Field whose value is the first non null value contained in the given fields.