Android Studio – If check with nullable boolean and elvis operator fails inspection check, why?
in Android Studio I wrote the following in a function: if (startTimes.value?.containsKey(name)?:false) { return startTimes?.value?.get(name) } Android Studio highlights the contents of the if with a warning with the message Equality check should be used instead of elvis for nullable…