iamthevoid
05/26/2021, 6:25 AMtry { } catch (e: Exception) { } block that returns null on exception (in stdlib)? Something like runCatching { } , but without unwrapping.rnett
05/26/2021, 6:36 AMrunCatching{ }.getOrNull(), or an extension function that calls it if you really need it? It's a value class so it's not going to be very expensive. I don't know of any all-in-one functions that do thatDominaezzz
05/26/2021, 7:27 AMiamthevoid
05/26/2021, 8:17 AM