min<T extends Comparable<T> > function
T
min<T extends Comparable<T> >(
- T a,
- T b
Returns the smaller of two Comparables.
Implementation
T min<T extends Comparable<T>>(T a, T b) => a.compareTo(b) < 0 ? a : b;