Units - Maple Programming Help

Home : Support : Online Help : Science and Engineering : Units : Manipulating Systems : Units/HasSystem

Units

 HasSystem
 test whether a system of units exists

 Calling Sequence HasSystem(system)

Parameters

 system - symbol; system name

Description

 • The HasSystem(system) function returns true if there is a system with the name system. Otherwise, false is returned.

Examples

 > $\mathrm{with}\left(\mathrm{Units}\right):$
 > $\mathrm{HasSystem}\left('\mathrm{SI}'\right)$
 ${\mathrm{true}}$ (1)
 > $\mathrm{HasSystem}\left('\mathrm{CGS}'\right)$
 ${\mathrm{true}}$ (2)
 > $\mathrm{HasSystem}\left('\mathrm{Cgs}'\right)$
 ${\mathrm{false}}$ (3)