# How to inspect Type

**URL:** <https://discourse.julialang.org/t/how-to-inspect-type/28320>\
**Category:** General Usage\
**Tags:** question\
**Created:** [September 3, 2019, 11:39am UTC](https://discourse.julialang.org/t/how-to-inspect-type/28320 "2019-09-03T11:39:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![phlavenk](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/phlavenk/32/1873_2.png) [@phlavenk](https://discourse.julialang.org/u/phlavenk)\
**Post date:** [September 3, 2019, 11:39am UTC](https://discourse.julialang.org/t/how-to-inspect-type/28320/1 "2019-09-03T11:39:29Z")

</div>

Is there a simple way to find out where a type is defined and if it is only an alias for something more generic? Something like how `@which` works for methods.

I’m now trying to understand the mesh, Face, Poin3f0, … from Makie / GeometryTypes and it is not easy to crawl the source codes.

---

<div class="post-metadata">

**Author:** ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Post date:** [September 3, 2019, 3:05pm UTC](https://discourse.julialang.org/t/how-to-inspect-type/28320/2 "2019-09-03T15:05:49Z")

</div>

I generally use the constructor as function, either with

```julia
methods(ThatType)

```

or

```julia
@edit ThatType(being, created)

```

to navigate to the source.

I also use the Emacs integration of `ag` (with `helm-grep-ag`) to browse all uses of something in code very quickly (screen shot below, if searching for `Fix2` in `Base`). Even if you are not an Emacs user, your IDE may have something similar.

 ![screenshot](https://global.discourse-cdn.com/julialang/original/3X/d/b/db767425e6c85902b4e117a7160a4c31af8955cd.png)
