jQuery.isArray()方法

jQuery 教程 · 2019-03-29 09:19:43

实例

判断指定参数是不是一个数组

[] 是一个数组吗?<b></b> <script> $(function () { $( "b" ).append( "" + $.isArray([]) ); }) </script>

定义和用法

$.isArray()函数用于判断指定参数是否是一个数组。

语法

$.isArray( object )

参数 描述
object 任意类型 需要进行判断的任意值。

点击查看所有 jQuery 教程 文章: https://codercto.com/courses/l/35.html

查看所有标签

Python for Data Analysis

Python for Data Analysis

Wes McKinney / O'Reilly Media / 2012-11-1 / USD 39.99

Finding great data analysts is difficult. Despite the explosive growth of data in industries ranging from manufacturing and retail to high technology, finance, and healthcare, learning and accessing d......一起来看看 《Python for Data Analysis》 这本书的介绍吧!

CSS 压缩/解压工具
CSS 压缩/解压工具

在线压缩/解压 CSS 代码

XML 在线格式化
XML 在线格式化

在线 XML 格式化压缩工具

正则表达式在线测试
正则表达式在线测试

正则表达式在线测试