reducer

Parameters

reducer

This function actually does the selection/reduction. Before it is called, nulls are filtered out. The type of the values is passed as KType to the selector.