NonNegativeDoubleValidator

The value must be zero or positive (>= 0.0); rejects NaN.

Properties

Link copied to clipboard

Functions

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

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