I have just come across
this.person!.name
in my codebase, previously I have seen this.person?.name
which is optional chaining, but I have never seen !
be used nor can I find any resource to explain it's use, can anyone shed any light on it?
I have just come across
this.person!.name
in my codebase, previously I have seen this.person?.name
which is optional chaining, but I have never seen !
be used nor can I find any resource to explain it's use, can anyone shed any light on it?