Just to be pedantic here the ? in Kotlin is associated with nullability, but not always comparing with null.
For example:
o as? Foo
replaces class cast exception with null value but isn’t really comparing to null
Just to be pedantic here the ? in Kotlin is associated with nullability, but not always comparing with null.
For example:
o as? Foo
replaces class cast exception with null value but isn’t really comparing to null