comma-ok for pointer-to-union-value #964
JoshuaManton
started this conversation in
Ideas/Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently when pulling out a union value you can do:
but for pointers you can only do:
which results in a lot of code that looks like this:
It would be nice if we could do:
I believe the same is true for getting map pointers as well but I am not certain.
Beta Was this translation helpful? Give feedback.
All reactions