ecl-logo Documentation

TimeQ

TimeQ[item]validUnit

tests if the given item is in Units of Time.

Details

    Input
    Output
    Attributes
  • Listable

Examples

Basic Examples  (5)

Returns true if the quantity is in Units of time:

Works with any Units of time:

Another unit of time:

Works regardless of metric prefixes:

Will reject things that are not in the correct Units:

Attributes  (1)

Listable  (1)

The function is listable: