type to check
true if T is a function, function pointer or delegate
void foo1() { } auto foo2 = () { }; static void foo3() { } static assert (isFunctionType!(typeof(&foo1))); static assert (isFunctionType!(typeof(foo2))); static assert (isFunctionType!(typeof(&foo3))); static assert (isFunctionType!(typeof(foo3)));