# Can we have \`String\`s/\`Cmd\`s as type parameter?

**URL:** <https://discourse.julialang.org/t/can-we-have-string-s-cmd-s-as-type-parameter/31647>\
**Category:** General Usage\
**Tags:** parametric-types\
**Created:** [November 29, 2019, 9:26am UTC](https://discourse.julialang.org/t/can-we-have-string-s-cmd-s-as-type-parameter/31647 "2019-11-29T09:26:43Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![singularitti](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/singularitti/32/17678_2.png) [@singularitti](https://discourse.julialang.org/u/singularitti)\
**Post date:** [June 12, 2020, 12:04pm UTC](https://discourse.julialang.org/t/can-we-have-string-s-cmd-s-as-type-parameter/31647/2 "2020-06-12T12:04:13Z")

</div>

I found in [this post](https://discourse.julialang.org/t/how-to-use-a-type-wrapping-a-symbol-as-a-type-parameter/19628) and the docs of [`isbitstype`](http://docs.julialang.org/en/v1/base/base/#Base.isbitstype) and [`Val`](http://docs.julialang.org/en/v1/base/base/#Base.Val) that only values that are `isbits` can be used, plus `Symbols`. See the first post for more details.

---

_[View the full topic](https://discourse.julialang.org/t/can-we-have-string-s-cmd-s-as-type-parameter/31647)._
