Angular2+ safe navigation operator?

558 Views Asked by At

I've been using angular2+ for some time, and I found the 'safe navigation operator' a very useful syntax, but now I have a question if I can write a generic service or sth to handle the 'null' thing instead of write '?.' everywhere.

0

There are 0 best solutions below