zjf
2023-02-24 2126cd24b8a0174ac0597340917c0a4595f72254
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]'
}