as Short
Returns the value from this RealmAny as a Short. RealmAny instances created using Short, Int, Byte, Char or Long values can be converted to any of these types safely, although overflow might occur, for example, if the value to be output as a Short is greater than Short.MAX_VALUE.
Throws
if the stored value cannot be safely converted to Short.
if the stored value cannot be coerced to another numeric type.