Rename isPromise
to isPromiseLike
or isThenable
#73
aleclarson
announced in
RFCs
Replies: 1 comment 5 replies
-
What type should it return? |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently,
isPromise
is checking for athen
method, but it should really be doingObject.prototype.toString.call(value) === "[object Promise]"
instead.The question is, do we rename the current implementation to
isPromiseLike
orisThenable
?Beta Was this translation helpful? Give feedback.
All reactions