Skip to content

Hope the null conditional (?.) operator can check whether the target has overloaded != and == operators #9382

Discussion options

You must be logged in to vote

No. This is intentional. This is specifically about behavior when the value is exactly null, and thus could not be the receiver value for a method call.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Misaka-Mikoto-Tech
Comment options

Answer selected by CyrusNajmabadi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants