get

operator fun PropertyResolver.get(key: String): String?

Extension for PropertyResolver.getProperty providing Array like getter returning a nullable String.

val name = env["name"] ?: "Seb"

Author

Sebastien Deleuze

Since

5.0