Tests if something has completed method.
1 struct A 2 { 3 void completed(); 4 } 5 6 struct B 7 { 8 void _completed(); 9 } 10 11 static assert(hasCompleted!A); 12 static assert(!hasCompleted!B);
Tests if something has completed method.