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