booleanOption
fun booleanOption(name: String, deprecation: RuleOptionDeprecation? = null): ReadOnlyProperty<Rule, RuleOption<Boolean?>>
Declares a strict boolean rule option and exposes it as a property delegate.
fun booleanOption(name: String, defaultValue: Boolean, deprecation: RuleOptionDeprecation? = null): ReadOnlyProperty<Rule, RuleOption<Boolean>>
Declares a strict boolean rule option with a default value and exposes it as a property delegate.