Description
It would be nice if there were a safe navigation operator for subscripts.
Safe navigation operator:
a?.b
Safe index operator:
a.size() > 0 ? a[0] : null => a?[0]
It would be nice if there were a safe navigation operator for subscripts.
Safe navigation operator:
a?.b
Safe index operator:
a.size() > 0 ? a[0] : null => a?[0]