# Get the type parameters of a parametric type

**URL:** <https://discourse.julialang.org/t/get-the-type-parameters-of-a-parametric-type/113308>\
**Category:** New to Julia\
**Tags:** type, parametric-types\
**Created:** [April 21, 2024, 6:25pm UTC](https://discourse.julialang.org/t/get-the-type-parameters-of-a-parametric-type/113308 "2024-04-21T18:25:44Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![sylvaticus](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sylvaticus/32/203883_2.png) [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Post date:** [April 21, 2024, 8:44pm UTC](https://discourse.julialang.org/t/get-the-type-parameters-of-a-parametric-type/113308/4 "2024-04-21T20:44:59Z")

</div>

Perhaps:

```julia
get_parameter_type(::MyStruct{T}) where T = T

```

---

_[View the full topic](https://discourse.julialang.org/t/get-the-type-parameters-of-a-parametric-type/113308)._
