Has Unit - Maple Help

Online Help

All Products    Maple    MapleSim


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]