# Why is there no isless(::Int64, ::UnitRange{Int64})?

**URL:** https://discourse.julialang.org/t/why-is-there-no-isless-int64-unitrange-int64/112648
**Category:** General Usage
**Tags:** range, unitrange
**Created:** [April 7, 2024, 4:09pm UTC](https://discourse.julialang.org/t/why-is-there-no-isless-int64-unitrange-int64/112648 "2024-04-07T16:09:57Z")
**Posts on this page:** 1
**Showing post:** 32

<div class="post-metadata">

### Author: ![TheLateKronos](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/thelatekronos/32/12824_2.png) [@TheLateKronos](https://discourse.julialang.org/u/TheLateKronos)
#### Post date: [April 8, 2024, 7:04am UTC](https://discourse.julialang.org/t/why-is-there-no-isless-int64-unitrange-int64/112648/32 "2024-04-08T07:04:32Z")

</div>

I also feel like the sentiment in [On the arbitrariness of truth(iness)](https://discourse.julialang.org/t/on-the-arbitrariness-of-truth-iness/81381/56) applies here. And in much the same way Stefan concludes “Just say no to truthiness”, I would say “Just say no to (in)equality comparisons between numbers and collections of them.”

---

_[View the full topic](https://discourse.julialang.org/t/why-is-there-no-isless-int64-unitrange-int64/112648)._
