Answers for "js know if function return 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 "TypeScript"

Browse Popular Code Answers by Language