Companion
object Companion
Contains declarations for holding or building a NonZeroInt.
Properties
Link copied to clipboard
The maximum value a NonZeroInt can have.
Link copied to clipboard
The minimum value a NonZeroInt can have.
Functions
Link copied to clipboard
Creates a NonZeroInt from the specified number, which may involve rounding or truncation, or throws an IllegalArgumentException if the number equals zero.
Link copied to clipboard
@ExperimentalSince(version = KotoolsTypesVersion.V4_5_0)
Creates a NonZeroInt from the specified number, which may involve rounding or truncation, or returns null
if the number equals zero.
Link copied to clipboard
Returns a random NonZeroInt.