# Fullpath of a type

**URL:** <https://discourse.julialang.org/t/fullpath-of-a-type/12113>\
**Category:** General Usage\
**Created:** [July 2, 2018, 11:06pm UTC](https://discourse.julialang.org/t/fullpath-of-a-type/12113 "2018-07-02T23:06:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Qiyamah](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/qiyamah/32/2660_2.png) [@Qiyamah](https://discourse.julialang.org/u/Qiyamah)\
**Post date:** [July 2, 2018, 11:06pm UTC](https://discourse.julialang.org/t/fullpath-of-a-type/12113/1 "2018-07-02T23:06:13Z")

</div>

how can i get the full path of a type?

```nohighlight
module Z
  export UU
  struct UU
  end
end

using Z
fullpath = some_func(UU)

```

fullpath to be Z.UU

does such a function exist?  
Thanks

---

<div class="post-metadata">

**Author:** ![yuyichao](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/yuyichao/32/20_2.png) [@yuyichao](https://discourse.julialang.org/u/yuyichao)\
**Post date:** [July 2, 2018, 11:14pm UTC](https://discourse.julialang.org/t/fullpath-of-a-type/12113/2 "2018-07-02T23:14:12Z")

</div>

> [@Full path of a datatype or a function](https://discourse.julialang.org/t/full-path-of-a-datatype-or-a-function/11396):
>
> Hi, I would like to get the full path of a data type like for Int it would be Base.Int for a user defined datatype named MyDT in module X.Y.Z, it would be X.Y.Z.MyDT is there a function which does that? Thanks

Seriously?

---

<div class="post-metadata">

**Author:** ![Qiyamah](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/qiyamah/32/2660_2.png) [@Qiyamah](https://discourse.julialang.org/u/Qiyamah)\
**Post date:** [July 2, 2018, 11:24pm UTC](https://discourse.julialang.org/t/fullpath-of-a-type/12113/3 "2018-07-02T23:24:11Z")

</div>

Thanks for the reminder…
