Sign in
cobalt
/
cobalt
/
cc19caab3101a025a2ae4db11601ed3496c7d730
/
.
/
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'
)
}