Possible Duplicate:
How to detect if a variable is an array
Hi,
Just wondering if people could please let me know how to check for this using javascript.
Thanks. Tony.
Possible Duplicate:
How to detect if a variable is an array
Hi,
Just wondering if people could please let me know how to check for this using javascript.
Thanks. Tony.
The better way I saw is used in jQuery isArray method:
toString.call(obj) === "[object Array]"