Units[Converter] - Maple Programming Help

# Online Help

###### All Products    Maple    MapleSim

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

Units[Converter]

 HasDimension
 test whether a dimension is in the Unit Converter

 Calling Sequence HasDimension(dim)

Parameters

 dim - symbol; dimension name

Description

 • The HasDimension(dim) function tests whether the given dimension is in the Unit Converter.

Examples

 > $\mathrm{with}\left(\mathrm{Units}[\mathrm{Converter}]\right):$
 > $\mathrm{HasDimension}\left(\frac{'\mathrm{length}'}{'\mathrm{time}'}\right)$
 ${\mathrm{true}}$ (1)
 > $\mathrm{HasDimension}\left(\frac{'\mathrm{length}''\mathrm{mass}'}{'\mathrm{time}'}\right)$
 ${\mathrm{true}}$ (2)

## Was this information helpful?

 Please add your Comment (Optional) E-mail Address (Optional) What is ? This question helps us to combat spam