undefined:验证值是否未定义

时间:2021-06-20 13:43:21
【文件属性】:
文件名称:undefined:验证值是否未定义
文件大小:8KB
文件格式:ZIP
更新时间:2021-06-20 13:43:21
Makefile 不明确的 验证值是否未定义。 安装 $ npm install validate.io-undefined 要在浏览器中使用,请使用 。 用法 var isUndefined = require ( 'validate.io-undefined' ) ; isUndefined(值) 验证value是否为undefined 。 var value ; var bool = isUndefined ( value ) ; // returns true 例子 var isUndefined = require ( 'validate.io-undefined' ) ; console . log ( isUndefined ( undefined ) ) ; // returns true console . log ( isUndefined ( null ) ) ; //
【文件预览】:
undefined-master
----.gitignore(711B)
----README.md(3KB)
----test()
--------test.js(859B)
----examples()
--------index.js(167B)
----LICENSE(1KB)
----.gitattributes(12B)
----.jshintrc(1KB)
----package.json(1KB)
----.jshintignore(118B)
----TODO.md(12B)
----.npmignore(498B)
----.travis.yml(73B)
----.editorconfig(169B)
----Makefile(2KB)
----lib()
--------index.js(588B)

网友评论