@vin_coder/type

类型判断lib

Usage no npm install needed!

<script type="module">
  import vinCoderType from 'https://cdn.skypack.dev/@vin_coder/type';
</script>

README

类型检测

用法

引入项目,支持 module.exports 和 exports

const {isString} = require('type');
isString('')

或者

const Type  = require('type);
Type.isString(false)

API

isString
isBoolean
isArray

...