// InterfacesUint8sF creates a new slice with the results of calling the provided function on every element in the given array.
// If the given function returns an error, the element will be ignored.
InterfacesUint8sF creates a new slice with the results of calling the provided function on every element in the given array.
If the given function returns an error, the element will be ignored.
// InterfacesUint8sF creates a new slice with the results of calling the provided function on every element in the given array . // If the given function returns an error the element will be ignored .
func InterfacesUint8sF(s []interface{}, f func(s interface{}) (uint8, error)) uint8s.Uint8s {
	m := uint8s.Uint8s(make([]uint8, 0, len(s)))
	var (
		x   uint8
		err error
	)
	for _, v := range s {
		x, err = f(v)
		if err != nil {
			continue
		}
		m = append(m, x)
	}
	return m
}
func InterfacesUint8sF ( s [ ] interface { } , f func ( s interface { } ) ( uint8 , error ) ) uint8s . Uint8s { m := uint8s . Uint8s ( make ( [ ] uint8 , 0 , len ( s ) ) ) var ( x uint8 err error ) for _ , v := range s { x , err = f ( v ) if err != nil { continue } m = append ( m , x ) } return m }
InterfacesUint8sF creates a new slice with the results of calling the provided function on every element in the given array.
InterfacesUint8sF creates a new slice with the results of calling the provided function on every element in the given array .