WLJS LogoWLJS Notebook

KnownUnitQ

KnownUnitQ[expr] returns True if expr is a canonical unit, and False otherwise.

  • KnownUnitQ[expr, dims] gives True if expr is a canonical unit with physical dimensions dims, and False otherwise.

Examples

KnownUnitQ["Meters"]
KnownUnitQ["Joules", "Energy"]

Please visit the official Wolfram Language Reference for more details.

On this page