# Operators: ||==, ||===

**URL:** <https://es.discourse.group/t/operators/1577>\
**Category:** 💡 Ideas\
**Tags:** proposal\
**Created:** [January 1, 2023, 7:59pm UTC](https://es.discourse.group/t/operators/1577 "2023-01-01T19:59:59Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![aclaymore](https://yyz2.discourse-cdn.com/free1/user_avatar/es.discourse.group/aclaymore/32/501_2.png) [@aclaymore](https://es.discourse.group/u/aclaymore)\
**Post date:** [January 1, 2023, 11:38pm UTC](https://es.discourse.group/t/operators/1577/4 "2023-01-01T23:38:25Z")

</div>

I found some related threads:

> [@Comparison to multiple values syntactic sugar](https://es.discourse.group/t/comparison-to-multiple-values-syntactic-sugar/357):
>
> In ECMA I would use (variable === val1 || variable === val2 ...) to attempt to compare a variable to multiple values. I think it would be a lot more elegant to run variable === | val1, val 2 | and have it automatically expand.

[Chained comparison syntax](https://es.discourse.group/t/chained-comparison-syntax/148) (No replies)

---

_[View the full topic](https://es.discourse.group/t/operators/1577)._
