nonNegativeIntOption

Declares a non-negative integer rule option and exposes it as a property delegate.


fun nonNegativeIntOption(name: String, defaultValue: Int, deprecation: RuleOptionDeprecation? = null): ReadOnlyProperty<Rule, RuleOption<Int>>

Declares a non-negative integer rule option with a default value and exposes it as a property delegate.