Answers for "node js how to check if function returns 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 "node js how to check if function returns promise"

Code answers related to "TypeScript"

Browse Popular Code Answers by Language