Sign in
cobalt
/
cobalt
/
0519dfe15d9e6877420b3107a0809325e557d720
/
.
/
src
/
third_party
/
devtools
/
node_modules
/
yargs
/
lib
/
is-promise.js
blob: 271d93b2d121a2289683d57160765cc54b472eac [
file
] [
log
] [
blame
]
module
.
exports
=
function
isPromise
(
maybePromise
)
{
return
!!
maybePromise
&&
!!
maybePromise
.
then
&&
(
typeof
maybePromise
.
then
===
'function'
)
}