Enum member isMethod
enum isMethod(T, alias method, ARGS...)
= is(typeof(()
{
mixin(testCall!ARGS("__traits(getMember, T.init, __traits(identifier, method))"));
}
));
enum isMethod(T, alias method, ARGS...)
= is(typeof(()
{
mixin(testCall!ARGS("__traits(getMember, T.init, __traits(identifier, method))"));
}
));