function itermin( iterator ) {
	var acc;
	var v;
	if ( !isIteratorLike( iterator ) ) {
		throw new TypeError( format( 'invalid argument. Must provide an iterator. Value: `%s`.', iterator ) );
	}
	acc = incrmin();
	while ( true ) {
		v = iterator.next();
		if ( v.done ) {
			break;
		}
		if ( typeof v.value === 'number' ) {
			acc( v.value );
		} else {
			acc( NaN );
		}
	}
	return acc();
}
Computes the minimum value of all iterated values.

@param {Iterator} iterator - input iterator
@throws {TypeError} must provide an iterator
@returns {(number|null)} minimum value

@example
var runif = require( '@stdlib/random/iter/uniform' );

var rand = runif( -10.0, 10.0, {
    'iter': 100
});

var m = itermin( rand );
// returns <number>