toShort

fun toShort(value: String?): Short(source)

Transform a given value to a Short

Return

The transformed value

Since

0.1.0

Parameters

value

The value to transform

Throws

If the value is not a short


Transform a given value to a String or return null if the value is null

Return

The transformed value

Since

0.1.0

Throws

If the value is not an unsigned short