【文件属性】:
文件名称:isobject:该值是对象,而不是数组或null吗?
文件大小:8KB
文件格式:ZIP
更新时间:2021-05-17 08:47:33
nodejs javascript is object typeof
对象
如果该值是一个对象而不是数组或null,则返回true。
请考虑关注该项目的作者 ,并考虑为该项目以显示您的 :red_heart: 和支持。
安装
使用安装:
$ npm install --save isobject
如果只需要由Object构造函数创建的对象,请使用 。
安装
使用安装:
$ npm install isobject
用法
import isObject from 'isobject' ;
真的
以下所有返回true :
isObject ( { } ) ;
isObject ( Object . create ( { } ) ) ;
isObject ( Object . create ( Object . prototype ) ) ;
isObject ( Object . create ( null ) ) ;
isObject ( { } ) ;
is
【文件预览】:
isobject-master
----.travis.yml(162B)
----index.js(271B)
----test.js(707B)
----package.json(2KB)
----.eslintrc.json(4KB)
----.github()
--------FUNDING.yml(140B)
----LICENSE(1KB)
----index.d.ts(72B)
----.gitignore(311B)
----.verb.md(631B)
----README.md(4KB)
----.editorconfig(261B)
----.gitattributes(128B)