Get an alias on the member type (work with nested member like "foo.bar").
the type where the member is
the member to alias
static class A { int bar; string baz; } static class B { A foo = new A(); } static assert(is(MemberType!(A, "bar") == int)); static assert(is(MemberType!(A, "baz") == string)); static assert(is(MemberType!(B, "foo.bar") == int));
See Implementation
Get an alias on the member type (work with nested member like "foo.bar").