dart-lang / dart-lang/language
Operator =?? (opposite to ??=)
Open
feature
null-aware-expressions
- Dominant language
- TeX
- Stars
- 2.9k
- Forks
- 239
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 14
Description
I propose to make =?? operator
Expression `a =?? b` works as
```
if (b != null)
a = b;
```
If `??=` exists, why this one doesn't?
Contributor guide
Assessment
This issue has not been assessed yet.