cast
cast copied to clipboard
Add function to cast `interface{}` to `[]float64`
I have the need of casting an interface{}
to a slice
of float64
numbers, but the corresponding helper is missing. Since there are already functions like ToIntSlice()
, is it ok to add one for float64
?
Bumping this, it would be really helpful to get this PR merged