I have the following helper function
userExist(email) {
    this.findUserByEmail(email).then(result => {
      return true;
    }).catch(error => {
      return false;
    });
  }
then I call this in a different file:
var stuff = userService.userExist('abc')
console.log(stuff);
But stuff is always undefined since the function is a promise, how can I wait for this value to my helper function returns true or false
 
     
    