dashboard
repositories
filestore
activity
search
login
刘苏义
/
ruoyi-api
forked from
ard/ruoyi-api
summary
commits
tree
docs
forks
compare
blame
|
history
|
raw
增加雷达报警1003和1004查看报警 修改查看报警点数量只获取未读数量
‘liusuyi’
2023-07-03
b5b9378fcc0013a8b95d654f3aa09905c224182c
[~liusuyi/ruoyi-api.git]
/
ruoyi-ui
/
node_modules
/
simple-swizzle
/
node_modules
/
is-arrayish
/
index.js
1
2
3
4
5
6
7
8
9
module.exports = function isArrayish(obj) {
if (!obj || typeof obj === 'string') {
return false;
}
return obj instanceof Array || Array.isArray(obj) ||
(obj.length >= 0 && (obj.splice instanceof Function ||
(Object.getOwnPropertyDescriptor(obj, (obj.length - 1)) && obj.constructor.name !== 'String')));
};