Verifies whether the passed value is either object or function that
features a then method, where the latter explicitly is either of both
function variants - arrow expression or function expression/statement -
thus, a then method is neither an async nor a generator function.
Like doesMatchThenable this function runs a shallow check of whether
the test candidate features the most basic Thenable behavior/trait,
just being stricter about the nature of a then method.
Verifies whether the passed
valueis either object or function that features athenmethod, where the latter explicitly is either of both function variants - arrow expression or function expression/statement - thus, athenmethod is neither an async nor a generator function. LikedoesMatchThenablethis function runs a shallow check of whether the test candidate features the most basicThenablebehavior/trait, just being stricter about the nature of athenmethod.