function isDonorUser(user) {
  // Donor
  if (user.donor) {
    return true;
  }
  return false;
}
/**
 * Checks if a user is a Donor
 *  user: A user from isAuthenticated
 */
Checks if a user is a Donor
user: A user from isAuthenticated
Checks if a user is a Donor user : A user from isAuthenticated
function isDonorUser(user) {
  if (user.donor) {
    return true;
  }
  return false;
}
function isDonorUser ( user ) { if ( user . donor ) { return true ; } return false ; }
Checks if a user is a Donor
  user: A user from isAuthenticated
Checks if a user is a Donor user : A user from isAuthenticated
// Donor