@vin_coder/type

1.0.37 • Public • Published

类型检测

用法

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

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

或者

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

API

isString
isBoolean
isArray

...

/@vin_coder/type/

    Package Sidebar

    Install

    npm i @vin_coder/type

    Weekly Downloads

    1

    Version

    1.0.37

    License

    MIT

    Unpacked Size

    3.7 kB

    Total Files

    4

    Last publish

    Collaborators

    • vin_coder