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

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

> 

with⁡ScientificConstants:

> 

HasElement⁡Fe

true

(1)
> 

HasElement⁡Fi

false

(2)
> 

HasElement⁡ytterbium

true

(3)
> 

HasElement⁡114

true

(4)
> 

HasElement⁡C14

true

(5)
> 

HasElement⁡101,256

true

(6)
> 

HasElement⁡H7

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]