min Value With
fun <ID : Any, T> Field<ID, T>.minValueWith(reductionType: ReductionType = ExcludingSelf, comparator: Comparator<FieldEntry<ID, T>>): T?
Returns the value of the entry that yields the smallest value according to the given comparator.
Return
the value of the entry with the lowest ordering, or null if none.
Parameters
reduction Type
specifies whether to include the local entry in the comparison (default is ExcludingSelf).
comparator
a comparator that defines the ordering of entries.