README
类型检测
用法
引入项目,支持 module.exports 和 exports
const {isString} = require('type');
isString('')
或者
const Type = require('type);
Type.isString(false)
API
isString
isBoolean
isArray
...
类型判断lib
<script type="module">
import vinCoderType from 'https://cdn.skypack.dev/@vin_coder/type';
</script>
const {isString} = require('type');
isString('')
或者
const Type = require('type);
Type.isString(false)
isString
isBoolean
isArray
...