NonNegativeIntValidator

The value must be zero or positive (>= 0).

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun validate(value: Int): String?

Returns null if value is valid, or a human-readable reason string if invalid.