valueOrDefault

inline fun <T : Any> Config.valueOrDefault(key: String, default: T): T

Retrieves a sub configuration or value based on given key.

If configuration property cannot be found the specified default value is returned.