_d_toObject

fnObject _d_toObject(return scope void * p) @nogc nothrow pure @trusted

Given a pointer: If it is an Object, return that Object. If it is an interface, return the Object implementing the interface. If it is null, return null. Else, undefined crash