RichUtils / pyxis.uzuki.live.richutilskt.utils / kotlin.String / safeShort

safeShort

@JvmOverloads fun String.safeShort(radix: Int = 10, default: Short = 0): Short

safe cast String to Short

Parameters

radix - Int

default - Short

Receiver
String

Return
Short