类型检测
用法
引入项目,支持 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
...
npm i @vin_coder/type
5
1.0.37
MIT
3.7 kB
4