ecl-logo Documentation

DistanceQ

DistanceQ[item]validUnit

tests if the given item is in Units of Distance.

Details

    Input
    Output
    Attributes
  • Listable

Examples

Basic Examples  (3)

Returns true if the quantity is in Units of distance:

Works regardless of metric prefixes:

Will reject things that are not in the correct Units:

Attributes  (1)

Listable  (1)

This function is listable: