How to understand Type



I find Type is frequently used in some codes. However, no documentation is provided:

help?> Type
search: Type typeof TypeVar TypeName typemin typemax TypedSlot typejoin TypeError typeassert

  No documentation found.

  Core.Type is of type UnionAll.


  struct UnionAll <: Type{T}


  var  :: TypeVar
  body :: Any

So what it Type and what is it intended for?


There is also the docs which you should search:

But I do think that this should be rectified: you should file an issue that there is not inline doc for Type and whilst you’re at it also for DataType. Please reference the github issue in this thread.


Here it is:


Just out of curiosity: is it possible to reproduce the functionality of Type in julia myself, or is it a hack that cannot be easily implemented by users?