We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aebad13 commit f4c2f9aCopy full SHA for f4c2f9a
src/types.jl
@@ -51,7 +51,7 @@ Physical quantity with value `value` of type `T` and dimensions `dimensions`.
51
The `valid` field is used to indicate whether the quantity is valid or not
52
(e.g., due to dimensional error). For example, the velocity of an object
53
with mass 1 kg and velocity 2 m/s is `Quantity(2, mass=1, length=1, time=-1)`.
54
-You should access these fields with `value(q)`, `dimensions(q)`, and `valid(q)`.
+You should access these fields with `ustrip(q)`, `dimensions(q)`, and `valid(q)`.
55
You can access specific dimensions with `ulength(q)`, `umass(q)`, `utime(q)`,
56
`ucurrent(q)`, `utemperature(q)`, `uluminosity(q)`, and `uamount(q)`.
57
0 commit comments