https://kotlinlang.org logo
#announcements
Title
# announcements
p

poohbar

08/29/2017, 7:10 PM
if (value in listOf(A, B)) { ... }
and just import
A
and
B
directly
k

karelpeeters

08/29/2017, 7:15 PM
is there are more elegant way to write my if check than static-imports
🙂
p

poohbar

08/30/2017, 12:53 AM
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
3 Views