- 类型检测
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