zjf
2023-02-24 3f9bad03f4fbca2d5c5be86e904ae832475634d8
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]'
}