uh, can somebody simplify this behaviour for me? ...
# announcements
g
uh, can somebody simplify this behaviour for me?
Copy code
when {
            continueSettings == null && other.continueSettings != null -> return false
            continueSettings != null && other.continueSettings == null -> return false
            continueSettings == null && other.continueSettings == null -> { /*noop*/ }
            continueSettings != null && other.continueSettings != null -> {
                if ( ! continueSettings!!.isIdenticalTo(other.continueSettings!!)) return false
            }
I'm pretty sure I can get it with a
?.isIdenticalTo
operation, but im not sure how