kevinmost
12/01/2017, 4:03 PM.toInt()
and .toIntOrNull()
. I could see myself wanting to deal with the error case myself, and I'd rather not try/catch on exceptions just for an error case. The nullable return type also forces me to deal with it, whereas I could forget to do a try/catch