# Is there a "select case" equivalent in Julia?

**URL:** https://discourse.julialang.org/t/is-there-a-select-case-equivalent-in-julia/66516
**Category:** General Usage
**Tags:** fortran, control-flow
**Created:** [August 16, 2021, 9:50pm UTC](https://discourse.julialang.org/t/is-there-a-select-case-equivalent-in-julia/66516 "2021-08-16T21:50:10Z")
**Posts on this page:** 1
**Showing post:** 17

<div class="post-metadata">

### Author: ![rafael.guerra](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rafael.guerra/32/216610_2.png) [@rafael.guerra](https://discourse.julialang.org/u/rafael.guerra)
#### Post date: [August 18, 2021, 10:22am UTC](https://discourse.julialang.org/t/is-there-a-select-case-equivalent-in-julia/66516/17 "2021-08-18T10:22:37Z")

</div>

@ToucheSir, regarding the LLVM switch business, do you think it is faster to use the `MLStyle` package instead of the simple & clean chained ternaries solution by @mbauman in [this post?](https://discourse.julialang.org/t/a-switch-type-function/13491/19) (_which was also linked above_)

---

_[View the full topic](https://discourse.julialang.org/t/is-there-a-select-case-equivalent-in-julia/66516)._
