Units[Converter] - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Science and Engineering : Units : Unit Converter Subpackage : Units/Converter/HasUnit

Units[Converter]

  

HasUnit

  

test whether a unit is in the Unit Converter

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

HasUnit(unit)

Parameters

unit

-

symbol; unit name

Description

• 

The HasDimension(unit) function tests whether the given unit is in the Unit Converter.

• 

This procedure accepts symbols and variations in spelling. For example, ms, meters/second, and metre/second represent the same unit in the Unit Converter.

Examples

withUnitsConverter:

HasUnitms

true

(1)

HasUnitTms

false

(2)

HasUnitergs

true

(3)

See Also

Units

Units/Converter

Units[Converter][AddUnit]

Units[Converter][GetUnit]

Units[Converter][GetUnits]

Units[Converter][RemoveUnit]

Units[HasUnit]