Skip to content

protons

protons()

Returns the atomic number (number of protons) for each element. Values are in the same order as symbols().

Returns

Vector[int]
Atomic number per element.