is-empty-object:检查对象是否为空

时间:2021-05-17 14:43:15
【文件属性】:
文件名称:is-empty-object:检查对象是否为空
文件大小:4KB
文件格式:ZIP
更新时间:2021-05-17 14:43:15
JavaScript 空对象 检查对象是否为空。 安装 npm install is-empty-object 用法 var isEmptyObject = require ( 'is-empty-object' ) isEmptyObject ( { } ) // => true isEmptyObject ( { one : 1 } ) // => false isEmptyObject ( [ ] ) // => false
【文件预览】:
is-empty-object-master
----.travis.yml(72B)
----index.js(347B)
----package.json(795B)
----test()
--------index.js(308B)
----LICENSE(1KB)
----.npmignore(73B)
----.gitignore(33B)
----README.md(800B)
----.editorconfig(179B)
----.gitattributes(12B)

网友评论