Alias TypeOf
Returns the type of thing. Accepts both expressions and types.
Example
struct S {
long id;
int age;
string name() {
return "name";
}
}
int number;
S s;
TypeOf!int; // int
TypeOf!number; // int
TypeOf!S; // S
TypeOf!s; // S