WLJS LogoWLJS Notebook

QuantityQ

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

  • QuantityQ[expr, dims] gives True if expr is a Quantity with physical dimensions dims, and False otherwise.

Examples

QuantityQ[Quantity[5, "Meters"]]

Please visit the official Wolfram Language Reference for more details.

On this page