func (q Query) MinFloat64() (min float64, err error) {
	if q.err != nil {
		err = q.err
		return
	}
	if len(q.values) == 0 {
		return 0, ErrEmptySequence
	}
	minIndex, _, err := minMaxFloat64s(q.values)
	if err != nil {
		return
	}
	return q.values[minIndex].(float64), nil
}
// MinFloat64 returns the element with smallest value in the leftmost of the
// sequence. Elements of the original sequence should only be float64 or
// ErrTypeMismatch is returned. If the sequence is empty ErrEmptySequence is
// returned.
//
// Example;
//	min, err := From([]float64{1e-9, 2e10, -1e-10, -1}).MinFloat64() // min is -1.0
MinFloat64 returns the element with smallest value in the leftmost of the
sequence. Elements of the original sequence should only be float64 or
ErrTypeMismatch is returned. If the sequence is empty ErrEmptySequence is
returned.


// MinFloat64 returns the element with smallest value in the leftmost of the // sequence . Elements of the original sequence should only be float64 or // ErrTypeMismatch is returned . If the sequence is empty ErrEmptySequence is // returned . // // Example ; // min err : = From ( [] float64 { 1e - 9 2e10 - 1e - 10 - 1 } ) . MinFloat64 () // min is - 1 . 0
func (q Query) MinFloat64() (min float64, err error) {
	if q.err != nil {
		err = q.err
		return
	}
	if len(q.values) == 0 {
		return 0, ErrEmptySequence
	}
	minIndex, _, err := minMaxFloat64s(q.values)
	if err != nil {
		return
	}
	return q.values[minIndex].(float64), nil
}
func ( q Query ) MinFloat64 ( ) ( min float64 , err error ) { if q . err != nil { err = q . err return } if len ( q . values ) == 0 { return 0 , ErrEmptySequence } minIndex , _ , err := minMaxFloat64s ( q . values ) if err != nil { return } return q . values [ minIndex ] . ( float64 ) , nil }
MinFloat64 returns the element with smallest value in the leftmost of the
sequence.
MinFloat64 returns the element with smallest value in the leftmost of the sequence .