getBoolean

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

Returns boolean value from ConfigValue by key. For order of flags see getValue.

Return

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

Parameters

key

Config key.

default

Default value to return.