zjf
2023-03-08 51468f93275c2bcfcc7ad25bf05f3d6a079ff764
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]'
}