toShort

abstract fun toShort(): Short

Unwraps the value contained within this BigInt as a Short value.

If this BigInt value is greater than Short.MAX_VALUE or is less than Short.MIN_VALUE, an exception will be thrown.

Return

The value contained within this BigInt as a Short value.