# How to avoid Any in list comprehensions with small unions

**URL:** <https://discourse.julialang.org/t/how-to-avoid-any-in-list-comprehensions-with-small-unions/25070>\
**Category:** General Usage\
**Created:** [June 8, 2019, 8:55am UTC](https://discourse.julialang.org/t/how-to-avoid-any-in-list-comprehensions-with-small-unions/25070 "2019-06-08T08:55:21Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Christopher\_Fisher](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/christopher_fisher/32/26132_2.png) [@Christopher\_Fisher](https://discourse.julialang.org/u/Christopher_Fisher)\
**Post date:** [June 8, 2019, 9:56am UTC](https://discourse.julialang.org/t/how-to-avoid-any-in-list-comprehensions-with-small-unions/25070/4 "2019-06-08T09:56:49Z")

</div>

[This](https://discourse.julialang.org/t/small-union-type-failure/18640/6) might be useful for someone who comes across this post.

---

_[View the full topic](https://discourse.julialang.org/t/how-to-avoid-any-in-list-comprehensions-with-small-unions/25070)._
