Ai
1 Star 0 Fork 12

NextZero/dom.js

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
isCollection.js 360 Bytes
一键复制 编辑 原始数据 按行查看 历史
Yaohaixiao 提交于 2023-10-16 18:43 +08:00 . feat: 添加 build() wrap() 和 wrapAll() 方法
import isHTMLCollection from './utils/types/isHTMLCollection'
/**
* 检测是否为 NodeList
* ========================================================================
* @method isCoolection
* @param {HTMLElement|Object} el
* @return {Boolean}
*/
const isCollection = (el) => {
return isHTMLCollection(el)
}
export default isCollection
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/nextzero/dom.js.git
git@gitee.com:nextzero/dom.js.git
nextzero
dom.js
dom.js
main

搜索帮助