combine

fun <T, V, R> combine(field1: Field<T>, field: Field<V>, transform: (T, V) -> R): Field<R>

Combine two fields with a transform function. The two fields must be aligned, otherwise an error is thrown.