index.js 191 Bytes RawBlameHistoryPermalink 1 2 3 4 5 6 7 8 9 /** * * @param {*} value 要判断的值 * @returns 值的类型 */ export const objectType = (value) =>{ const res = Object.prototype.toString.call(value).slice(8,-1) return res }