https://kotlinlang.org logo
#advent-of-code
Title
# advent-of-code
a

adamratzman

12/04/2020, 3:57 PM
I was also thinking extension function String.isInt
e

ephemient

12/04/2020, 7:59 PM
.toIntOrNull() != null
?
a

adamratzman

12/05/2020, 1:05 AM
Yep, but with less typing
4 Views