Has Element - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


ScientificConstants

  

HasElement

  

test whether an element or isotope is in the ScientificConstants package

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

HasElement( descriptor )

Parameters

descriptor

-

name

Description

• 

The HasElement( descriptor ) command returns true if descriptor is the name or symbol of an element, or the isotope syntax of an isotope in the ScientificConstants package. Otherwise, it returns false.

  

Note that if descriptor is an isotope syntax with mass number less than atomic number, the isotope syntax is invalid and an error is returned.

• 

For a description of the isotope syntax, see Element.

Examples

withScientificConstants:

HasElementFe

true

(1)

HasElementFi

false

(2)

HasElementytterbium

true

(3)

HasElement114

true

(4)

HasElementC14

true

(5)

HasElement101,256

true

(6)

HasElementH7

false

(7)

See Also

Details of Commands for Elements and Isotopes

Initial Elements of the Periodic Table

ScientificConstants

ScientificConstants[Element]

ScientificConstants[GetElement]

ScientificConstants[GetElements]

ScientificConstants[GetIsotopes]