dashboard
repositories
filestore
activity
search
login
刘苏义
/
ruoyi-api
forked from
ard/ruoyi-api
summary
commits
tree
docs
forks
compare
blame
|
history
|
raw
SDK云台控制和setptz增加错误码返回 增加部门和相机按角色数据权限查询
‘liusuyi’
2024-03-07
38eaaa87743252da53851047bd15b089ccf9697b
[~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')));
};