getProperty

inline fun <T> PropertyResolver.getProperty(key: String): T?

Extension for PropertyResolver.getProperty providing a getProperty<Foo>(...) variant returning a nullable Foo.

Author

Sebastien Deleuze

Since

5.1


inline fun <T : Any> PropertyResolver.getProperty(key: String, default: T): T

Extension for PropertyResolver.getProperty providing a getProperty<Foo>(...) variant returning a non-nullable Foo with a default value.

Author

John Burns

Since

6.1