Companion
object Companion
Properties
Link copied to clipboard
The pattern recognizing textual representations of Integers. See Integer.of.
Link copied to clipboard
Functions
Link copied to clipboard
Creates an Integer out of integer. See Integer.of.
Creates a Numeric out of the given value, picking Integer or Real depending on its Kotlin type (Double/Float become Real, integral types become Integer; any other Number is converted via its Any.toString representation, then parsed like of would).
Parses number into a Numeric, trying Integer.of first and falling back to Real.of if that fails.