Answers for "javascript detect if an object a promise?"

0

js check if function is promise

console.log(prom instanceof Promise); // true
Posted by: Guest on October-15-2021

Code answers related to "javascript detect if an object a promise?"

Code answers related to "TypeScript"

Browse Popular Code Answers by Language