How can I convert my Kotlin Array
to a varargs Java String[]
?
val angularRoutings =
arrayOf<String>("/language", "/home")
// this doesn't work
web.ignoring().antMatchers(angularRoutings)
How to pass an ArrayList to a varargs method parameter?