is-indexed:为“索引”值返回 true 的谓词

时间:2021-06-19 16:08:29
【文件属性】:
文件名称:is-indexed:为“索引”值返回 true 的谓词
文件大小:5KB
文件格式:ZIP
更新时间:2021-06-19 16:08:29
JavaScript 被索引 为索引值返回 true 的谓词。 安装 npm install is-indexed bower install is-indexed 用法 var isIndexed = require ( 'is-indexed' ) ; console . log ( isIndexed ( '' ) ) ; // true console . log ( isIndexed ( [ ] ) ) ; // true console . log ( isIndexed ( { } ) ) ; // false console . log ( isIndexed ( null ) ) ; // false console . log ( isIndexed ( undefined ) ) ; // false console . log ( isIndexed ( 1 ) ) ; // fal
【文件预览】:
is-indexed-master
----package.json(669B)
----test()
--------is-indexed.js(464B)
----is-indexed.js(539B)
----LICENSE.md(1KB)
----.gitignore(1KB)
----CHANGELOG.md(82B)
----README.md(531B)
----bower.json(440B)
----.editorconfig(439B)
----.gitattributes(52B)

网友评论