`if (value in listOf(A, B)) { ... }` and just impo...
# announcements
p
if (value in listOf(A, B)) { ... }
and just import
A
and
B
directly
k
is there are more elegant way to write my if check than static-imports
🙂
p
I use static imports all over the place and have yet to have an issue because of that. I wonder what are the risks?
👍 1