Salesforce Fact #818 | Simplified exists check in Map with null coalesecing
Suppose, we want to check if a key does not exist in map or if the corresponding value is null, then it needs to be updated with the new value. With the new null coalescing operator, the exists check in map can be simplified.
Attached is the screenshot.
Comments
Post a Comment