min IDWith
fun <ID : Any, T> Field<ID, T>.minIDWith(reductionType: ReductionType = ExcludingSelf, comparator: Comparator<FieldEntry<ID, T>>): ID?
Returns the ID of the entry that yields the smallest value according to the given comparator.
Return
the ID 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.