/** * 对象判断 */ export const isObject = (value: any): boolean => { const type = typeof value; return value != null && (type === "object" || type === "function"); };