arg

abstract fun arg(name: String, vararg values: String)

Adds argument with the specified name and values.


abstract fun arg(name: Any, vararg values: Any)

Deprecated

This function with Any parameters is scheduled for removal in Kotlin 2.2. Consider migrating to the function with String parameters.

Replace with

arg(name.toString(), *values.map { it.toString() }.toTypedArray())

Adds argument with the specified name and values.

Expected name and values type is String.