# Adding name property to Metatype

**URL:** <https://forums.swift.org/t/adding-name-property-to-metatype/24372>\
**Category:** Discussion\
**Created:** [May 10, 2019, 4:48am UTC](https://forums.swift.org/t/adding-name-property-to-metatype/24372 "2019-05-10T04:48:16Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Martin](https://avatars.discourse-cdn.com/v4/letter/m/73ab20/32.png) [@Martin](https://forums.swift.org/u/Martin)\
**Post date:** [May 10, 2019, 8:13am UTC](https://forums.swift.org/t/adding-name-property-to-metatype/24372/3 "2019-05-10T08:13:31Z")

</div>

> [@DevAndArtist](#):
>
> However you can make use of `String(describing: metatype)` .

As I understand it from [Getting the (more) fully qualified name of a type - #2 by jrose](https://forums.swift.org/t/getting-the-more-fully-qualified-name-of-a-type/14375/2), it is not _guaranteed_ that this gives the (unqualified) type name. This is also discussed in [Relying on String(describing:) to get the name of a type](https://forums.swift.org/t/relying-on-string-describing-to-get-the-name-of-a-type/16391)

---

_[View the full topic](https://forums.swift.org/t/adding-name-property-to-metatype/24372)._
