42 ms·
I'd like to see the "in" operator from SQL in C-style languages. Something like: if(x in (null, 2, 3.14, foo(123)) { // }
by lullab 4y ago
I'd like to see the "in" operator from SQL in C-style languages.
Something like:
if(x in (null, 2, 3.14, foo(123)) {
//
}
- still_grokking 4y agoCollection.contains()? That's a pretty std. feature I guess.