getBool

open fun getBool(property: String, defaultValue: Boolean): Boolean

Reads a boolean property.

Return

the property value, or defaultValue

Parameters

property

the property name

defaultValue

the value to return when the property is absent or is not a boolean