get

fun <T> get(key: String, adapter: ConfigAdapter<T>): T?(source)

Returns null if the key does not exist or if the value cannot be converted to the desired type.


fun <T> get(key: String, adapter: ConfigAdapter<T>, defaultValue: T): T(source)

Returns defaultValue if the key does not exist or if the value cannot be converted to the desired type.