T require(T = Element, string file = __FILE__, int line = __LINE__)(Element e) if(is(T : Element))
You can use this to do an easy null check or a dynamic cast+null check on any element. Group: core_functionality