Checks if the given object is a promise-like instance.
A type of the value the promise resolves to.
A type of the plain, not promise-like, value.
A value to check.
true if the value is an object or function with then method, or false otherwise.
true
value
then
false
Generated using TypeDoc
Checks if the given object is a promise-like instance.