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

mkporwit

07/14/2017, 12:13 AM
Tried putting it in an array. IntelliJ complains that it expects a
String!
but got
Array<String>
instead
m

marstran

07/14/2017, 7:10 AM
mkporwit: I'm not sure how you can get around it without using an array, but you need to use the spread operator:
exists(*arrayOf(key))
4 Views