toCharOrNull

fun toCharOrNull(value: String?): Char?(source)

Transform a given value to a Char or return null if the value is not a char

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 char