Answers for "how to check if a function is a promise javascript"

0

js check if function is promise

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

Code answers related to "how to check if a function is a promise javascript"

Code answers related to "TypeScript"

Browse Popular Code Answers by Language