jQuery.isArray() method
Example
Determine whether the specified argument is an array
[
]
Is it an array?<
b
b
<script$(function(){$("b" )>.
append
(
"
"
- $.
isArray
(
[
]
)
)
;
}
)
script
Try it »
Definition and Usage
The $.isArray() function is used to determine whether the specified argument is an array.
Syntax
$
.isArray( object )
Parameters Description object Any type: The arbitrary value to be checked.
jQuery Miscellaneous Methods