@Nullable fun getDefaultBoolean(key: String!): Boolean?
(source)
Get a default value from this configuration as a boolean.
key
- String!: A configuration key (e.g. "server.active"
).
InvalidConfigurationPropertyTypeException
- If the default value is not a boolean.
Return
Boolean?: The value, or null if no default was available.