cc_util_func

2.0.7 • Public • Published

功能

  • 类型检测

使用

import { isArray, isObject, isString, isNumber, isBoolean, isFunction, isNull, isUndefined } from "cc_util_func";

isArray([1, 2, 3]); //true
isObject({}); //true
isString(""); //true
isNumber(1); //true
isBoolean(true); //true
isFunction(() => {}); //true
isNull(null); //true
isUndefined(undefined); //true

Readme

Keywords

Package Sidebar

Install

npm i cc_util_func

Weekly Downloads

0

Version

2.0.7

License

ISC

Unpacked Size

4.4 kB

Total Files

6

Last publish

Collaborators

  • gxcc-cn