thana
02/25/2019, 1:34 PMnull
? (all examples i can find implie the other way round)LeoColman
02/25/2019, 1:36 PMthana
02/25/2019, 1:36 PMLeoColman
02/25/2019, 1:36 PMthana
02/25/2019, 1:37 PMstreetsofboston
02/25/2019, 1:40 PMLeoColman
02/25/2019, 1:43 PMthana
02/25/2019, 1:49 PMfalse
it will return a non-null value - always.
i knew this smeels before, but then i saw a colleague using it, and he had to use ?.
all over the place and i though "hey this is kotlin! it has a cool feature that might solve this problem" and didn't realise it would be much easier to simply split the method into twoLeoColman
02/25/2019, 1:56 PMthana
02/25/2019, 1:59 PM