getBoolean

abstract fun getBoolean(key: String, default: Boolean = false): Boolean

Returns boolean value from ConfigValue by key.

Return

Boolean by key if present or default value from param or boolean default (false).

Parameters

key

Config key.

default

Default value to return.