You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A coalescence operator ?? should be added. It ought to share precedence with ternaries. It should return the left-hand value if it is not nil, otherwise the right-hand value (regardless of nil). This will mirror the C# / ECMA standard of null coalescence, without making users resort to ugly ternary conditionals for the same effect.
The text was updated successfully, but these errors were encountered:
A coalescence operator
??
should be added. It ought to share precedence with ternaries. It should return the left-hand value if it is not nil, otherwise the right-hand value (regardless of nil). This will mirror the C# / ECMA standard of null coalescence, without making users resort to ugly ternary conditionals for the same effect.The text was updated successfully, but these errors were encountered: