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