toPositiveByteOrNull

Transform a given value to a positive Byte or return null if the value is not a positive byte

Return

The transformed value or null

Since

0.1.0

Parameters

value

The value to transform


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

Return

The transformed value or null

Since

0.1.0

Throws

If the value is not a positive byte