toShortOrNull
Parses the string as a Short number and returns the result
or null
if the string is not a valid representation of a number.
Try the revamped Kotlin docs design →
Try the revamped Kotlin docs design!
Parses the string as a Short number and returns the result
or null
if the string is not a valid representation of a number.