gjj
2023-02-07 08690e2fd123a710406a101a2a5bd98fa0992502
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]'
}