Units
HasDimension
test whether a dimension exists
Calling Sequence
Parameters
Description
Examples
HasDimension(dim)
dim
-
symbol; dimension name
The HasDimension(dim) function returns true if there is a dimension with the name dim. Otherwise, false is returned.
with⁡Units:
Automatically loading the Units[Simple] subpackage
HasDimension⁡'length'
true
HasDimension⁡'speed'
HasDimension⁡'acceleration'
HasDimension⁡'surge'
false
AddDimension⁡'surge'='length''time'3
See Also
Units/Commands
Units/Index
Units[AddDimension]
Units[GetDimension]
Units[GetDimensions]
Units[RemoveDimension]
Download Help Document
What kind of issue would you like to report? (Optional)