Skip to content

Commit

Permalink
Metaloids also non-metals.
Browse files Browse the repository at this point in the history
  • Loading branch information
johnmay committed Jul 28, 2019
1 parent 4738464 commit 33a435e
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -534,6 +534,14 @@ public static boolean isMetal(int atno) {
case 54: // Xe
case 86: // Rn
return false;
case 5: // B
case 14: // Si
case 32: // Ge
case 33: // As
case 51: // Sb
case 52: // Te
case 85: // At
return false;
}
return true;
}
Expand Down

0 comments on commit 33a435e

Please sign in to comment.