JS 类型判断 // 引入import { isType, isObject, isString, isArray, isFunction, isNumber, isRegExp, isDate, isElement, isBoolean} from "tf-type"; // 或import * as Type from "tf-type";// let isObject = Type.isObject; // 使用isObject({ a: "aaa" });isArray([1, 2, 3]);isBoolean(true);