<< Back to AndrewPeace.com

Javascript is_array() demo

Updated Thursday, June 12, 2008

This page is a demo of the is_array() function. It works for all inputs, in all browsers. Tested in FireFox 2.0 and Internet Explorer 7. Compatible in IE5 and IE6.

Value is_array()
['this', 'is', 'an', 'array']
new Array()
"blah blah"
5
false
4.567

Valid XHTML 1.0 Strict

Valid CSS!