zjf
2023-03-03 26e972196ed6046bcb7fb341be86241c8300fd2b
1
2
3
4
5
6
7
8
9
10
11
export function isString (obj) {
  return Object.prototype.toString.call(obj) === '[object String]'
}
 
export function isObject (obj) {
  return Object.prototype.toString.call(obj) === '[object Object]'
}
 
export function isArray (obj) {
  return Object.prototype.toString.call(obj) === '[object Array]'
}