Join Slack
Powered by
Does kotlin support named varargs (or some way to ...
# announcements
j
Jon
04/04/2018, 5:31 AM
Does kotlin support named varargs (or some way to reproduce it)? e.g.
fun foo(vararg fields: Any)
which is called with
foo(field1 = "hey", field2 = "there")
. I would expect the
fields
vararg to then be a map of some sort.
🚫 1
Open in Slack
Previous
Next