getName

getName(): String;

The getName method of the Type class returns a string containing the name of the class or primitive type.