jQuery.isArray () method
Examples
It determines whether the specified parameter is not an array
[] Is an array it? <B> </ b> < script> $ (function () {$ ( "B" ). Append ( "" + $. IsArray ([ ]) );}) </ Script>
try it"
Definition and Usage
$ .isArray () Function is used to determine whether the specified parameter is an array.
grammar
$.isArray( object )
参数 | 描述 |
---|---|
object | 任意类型 需要进行判断的任意值。 |