// Uint8sBoolsE creates a new slice with the results of calling the provided function on every element in the given array.
// Returns an error if one of the function calls fails.
Uint8sBoolsE creates a new slice with the results of calling the provided function on every element in the given array.
Returns an error if one of the function calls fails.
// Uint8sBoolsE creates a new slice with the results of calling the provided function on every element in the given array . // Returns an error if one of the function calls fails .
func Uint8sBoolsE(s []uint8, f func(s uint8) (bool, error)) (bools.Bools, error) {
	m := bools.Bools(make([]bool, len(s)))
	var err error
	for i, v := range s {
		m[i], err = f(v)
		if err != nil {
			return nil, err
		}
	}
	return m, nil
}
func Uint8sBoolsE ( s [ ] uint8 , f func ( s uint8 ) ( bool , error ) ) ( bools . Bools , error ) { m := bools . Bools ( make ( [ ] bool , len ( s ) ) ) var err error for i , v := range s { m [ i ] , err = f ( v ) if err != nil { return nil , err } } return m , nil }
Uint8sBoolsE creates a new slice with the results of calling the provided function on every element in the given array.
Uint8sBoolsE creates a new slice with the results of calling the provided function on every element in the given array .