isQuantity

Tests whether T is a quantity type

Members

Aliases

U
alias U = Unqual!T
Undocumented in source.

Manifest constants

isQuantity
enum isQuantity;
Undocumented in source.
isQuantity
enum isQuantity;
Undocumented in source.

Examples

import quantities.si : Time, meter;
static assert(isQuantity!Time);
static assert(isQuantity!(typeof(meter)));
static assert(!isQuantity!double);

Meta