The difference is that operator .? has nullable return type and returns null, while operator !! has nonnullable return type and throws NPE. So you use one or the other depending on what behavior you want.
1 Like