toIntOrDefault

fun toIntOrDefault(default: Int): Int?(source)

Convert the value to an int or a default value

Return

the transformed value or the default value

Since

0.1.0

Parameters

default

the default value

See also