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