# DataType with type parameter

**URL:** <https://discourse.julialang.org/t/datatype-with-type-parameter/17932>\
**Category:** General Usage\
**Tags:** question\
**Created:** [November 23, 2018, 10:56pm UTC](https://discourse.julialang.org/t/datatype-with-type-parameter/17932 "2018-11-23T22:56:01Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![schlichtanders](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/schlichtanders/32/32145_2.png) [@schlichtanders](https://discourse.julialang.org/u/schlichtanders)\
**Post date:** [November 23, 2018, 10:56pm UTC](https://discourse.julialang.org/t/datatype-with-type-parameter/17932/1 "2018-11-23T22:56:01Z")

</div>

DataType is subtype of Type{T} but where Type{T} has a typeparameter, DataType does not have it.

How is this possible?  
More practically, how can I dispatch on DataType, while extracting the Typeparameter?

---

_[View the full topic](https://discourse.julialang.org/t/datatype-with-type-parameter/17932)._
