// InterfacesUintsF 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.
InterfacesUintsF 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.
// InterfacesUintsF 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 InterfacesUintsF(s []interface{}, f func(s interface{}) (uint, error)) uints.Uints {
	m := uints.Uints(make([]uint, 0, len(s)))
	var (
		x   uint
		err error
	)
	for _, v := range s {
		x, err = f(v)
		if err != nil {
			continue
		}
		m = append(m, x)
	}
	return m
}
func InterfacesUintsF ( s [ ] interface { } , f func ( s interface { } ) ( uint , error ) ) uints . Uints { m := uints . Uints ( make ( [ ] uint , 0 , len ( s ) ) ) var ( x uint err error ) for _ , v := range s { x , err = f ( v ) if err != nil { continue } m = append ( m , x ) } return m }
InterfacesUintsF creates a new slice with the results of calling the provided function on every element in the given array.
InterfacesUintsF creates a new slice with the results of calling the provided function on every element in the given array .