ecl-logo Documentation

DensityQ

DensityQ[item]validUnit

tests if the given item is in Units of Mass over Units of volume.

Details

    Input
    Output
    Attributes
  • Listable

Examples

Basic Examples  (3)

Returns true if the quantity is in Units of mass per volume:

Works regardless of metric prefixes:

Will reject things that are not in the correct Units:

Attributes  (1)

Listable  (1)

This function is listable: