- How to find out if an array is a full-fledged array, and not a string or some kind of "non-mass"?
I was expecting some kind of var_dump function like in PHP, but in JS I cannot understand what type of array data is and how to determine in general that the array is real and you can use standard array methods for it.
- How to know the type of an array variable and change it to another?
My array stores thousands of data, but they are partly moderated during the script process and perhaps their type was changed due to this. Is there some way to know the data type and change it to the required one?