1.0.34 • Published 5 years ago
vin-type v1.0.34
类型检测
用法
引入项目,支持 module.exports 和 exports
const {isString} = require('type');
isString('')
或者
const Type = require('type);
Type.isString(false)
API
isString
isBoolean
isArray
...
const {isString} = require('type');
isString('')
或者
const Type = require('type);
Type.isString(false)
isString
isBoolean
isArray
...