An array
is not a Collection, and a Collection
is not an Array. Collections do have a method called
toArray that will convert it from a Collection to an array.
I'm not sure what you been by "checking for all/100% Number content"... Are you saying that you want your Collection/Array to contain
only integers, floats or doubles?