/documentation/detail/$.isArray.md
Markdown | 15 lines | 12 code | 3 blank | 0 comment | 0 complexity | 104ffd3d14be798c0b954981616332a4 MD5 | raw file
- $.isArray returns true or false if the passed in parameter is indeed an array.
- See the following examples
- ```js
- var notArray={};
- var isArray=[];
- function testIsArray(pass){
- if(pass)
- alert($.isArray(isArray));
- else
- alert($.isArray(notArray));
- }
- ```