Documentation / dataflow-async / com.femastudios.dataflow.async.util / coalesce
Go to reference
Go to reference
coalesce
@SafeVarargs fun <T> coalesce(vararg attributes: Attribute<T>): Attribute<T>
Returns an Attribute whose value is the first not null
value from the given attributes.
fun <T> coalesce(attributes: List<Attribute<T>>): Attribute<T>
Returns an Attribute whose value is the first not null
value from the given attributes list.