QuantityQ

QuantityQ[expr]
gives True if expr is a Quantity with valid arguments, and False otherwise.

DetailsDetails

  • QuantityQ[expr] returns False unless expr is a Quantity expression with valid arguments (i.e. has a canonical unit).
Introduced in 2012
(9.0)