min static method

num min(
  1. Iterable<num> values
)

Returns the smallest value in values.

Implementation

static num min(Iterable<num> values) {
  if (values.isEmpty) {
    throw ArgumentError('values must not be empty');
  }
  return values.reduce(math.min);
}