Sign in
apache
/
nifi-fds
/
6435e394f6c7c31d3f61a4bfc9702bde2a1659fa
/
.
/
node_modules
/
is-promise
/
index.js
blob: ca2444c6f69540f83504b8f54f4518af0ffc4cd5 [
file
] [
log
] [
blame
]
module
.
exports
=
isPromise
;
function
isPromise
(
obj
)
{
return
!!
obj
&&
(
typeof
obj
===
'object'
||
typeof
obj
===
'function'
)
&&
typeof
obj
.
then
===
'function'
;
}