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 yourself »
Definition and Usage
The $.isArray() function is used to determine whether the specified argument is an array.
Syntax
$.isArray( object )
| Parameter | Description |
|---|---|
| object | Any type Any value that needs to be determined. |
Other Extensions
jQuery Miscellaneous Methods