Function getShortClassName
Get the short class name, i.e. without module path. obj
must not be null
string getShortClassName
(
const(Object) obj
);
Example
class A
{
}
A a = new A;
assert(getShortClassName(a) == "A");