toIntOrNull

fun toIntOrNull(value: String?): Int?(source)

Transform a given value to a Int or return null if the value is not an int

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