undefinedToNull

fun <T> undefinedToNull(value: dynamic): T?