get

abstract fun <T : JsAny?> get(section: String): T?(source)

Return a value from this configuration.

Parameters

section

Configuration name, supports dotted names.


abstract fun <T : JsAny?> get(section: String, defaultValue: T): T(source)

Return a value from this configuration.

Parameters

section

Configuration name, supports dotted names.

defaultValue

A value should be returned when no value could be found, is undefined.