path

abstract fun <T : Any> path(name: String, type: KClass<T>): T

The path variable name as type: a string, a number, a boolean or an enum.