Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Follow up on #1955's incorrect
then
-able check.
I foolishly used `O.p.hasOwnProperty` here which, while safe for checking properties, is actually not correct since this `then` property is inherited from `Promise.prototype.then`. Checking if `then` is a function should be safe _enough_. Follows-up on: #1955
- Loading branch information