dashboard
repositories
filestore
activity
search
login
刘苏义
/
ruoyi-api
forked from
ard/ruoyi-api
summary
commits
tree
docs
forks
compare
blame
|
history
|
raw
处理连接失败异常
zhangjian
2023-08-09
b5cc4996ee502e9bf9db2d9f05c88d988e33e1ab
[~liusuyi/ruoyi-api.git]
/
ruoyi-ui
/
node_modules
/
yargs
/
build
/
lib
/
utils
/
is-promise.js
1
2
3
4
5
export function isPromise(maybePromise) {
return (!!maybePromise &&
!!maybePromise.then &&
typeof maybePromise.then === 'function');
}