Safe Navigation Operator
Issue #1721
resolved
a?.b // Evaluates to: a == null ? null : a.b
Comments (3)
-
repo owner -
reporter WOW! Very thanks! I tested it only with sandbox… In prod it not working, yet.
-
repo owner - changed status to resolved
Delivered in 2.1.4.2:
- Log in to comment
Good timing. I was already working on this and it will be included in the next build:
Of course, it will only work if you're deploying to pre-release org, but I'm not planning on verifying it against existing orgs for the short period of time before that release occurs. Deployments will just fail with parse errors if you try it against a current org.