|
|
|
|
|
by mpawelski
2374 days ago
|
|
Is the actual logic different in Java vs Kotlin examples? In Java: when `nullableVariable` is not null and someMethodCall() return `false` then we return what `fallbackIfNullMethodCall()` returns right?
and in Kotlin in that case we just return `false` from `someMethodCall()` because this is not null and `fallbackIfNullMethodCall()` is not even evaluated? |
|