# How to get the container type of a container?

**URL:** <https://discourse.julialang.org/t/how-to-get-the-container-type-of-a-container/20253>\
**Category:** General Usage\
**Tags:** type, parametric-types\
**Created:** [January 29, 2019, 10:25pm UTC](https://discourse.julialang.org/t/how-to-get-the-container-type-of-a-container/20253 "2019-01-29T22:25:05Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![mauro3](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mauro3/32/292_2.png) [@mauro3](https://discourse.julialang.org/u/mauro3)\
**Post date:** [January 30, 2019, 2:45pm UTC](https://discourse.julialang.org/t/how-to-get-the-container-type-of-a-container/20253/6 "2019-01-30T14:45:25Z")

</div>

If I understand correctly, you want to strip the type parameters from a type. That is not possible in general [Stripping parameter from parametric types](https://discourse.julialang.org/t/stripping-parameter-from-parametric-types/8293). `similar` is made for this.

---

_[View the full topic](https://discourse.julialang.org/t/how-to-get-the-container-type-of-a-container/20253)._
