twisterrob
01/27/2018, 8:40 PMwhen(x) { // x: Any?
is String -> x
is null -> ""
else -> someFun(x)
}
having trouble on two fronts: 1) is null
is not a thing 2) is there a way to NOT repeat x
inside `when`'s body? (i.e. why don't `this`/`it` work here?)