minInIterable<I, R> function

num? minInIterable<I, R>(
  1. Iterable<num> iterable
)

Uses mergeIterable to find minimum value in iterable.

Implementation

num? minInIterable<I, R>(Iterable<num> iterable) => iterable.isEmpty
    ? null
    : mergeIterable(
        iterable,
        (num? total, num value) => value < total! ? value : total,
        iterable.first);