JS Vérifiez si la fonction est promesse
console.log(prom instanceof Promise); // true
florinrelea
console.log(prom instanceof Promise); // true