Being a newcomer in the world of front end development, I am currently teaching myself Angular (11.2.10). While exploring a sample project, I noticed this particular piece of html template code written by another person and utilized in multiple places:
<div #itemsList [currentItemId]="item?.id"></div>
I am curious about the usage of ?.
here. Is it a feature of TypeScript or Angular? I am eager to delve deeper into this concept. Perhaps I have not come across it in my learning journey yet. Any insights on this matter would be highly appreciated.
For further exploration, what specific keywords should I search for in the official Angular/TypeScript documentation regarding this expression?
Update:
Thanks to valuable input from polyglot and liyaxing, I managed to uncover the information I was seeking - Optional Chaining
Furthermore, a related question was also addressed in this source
Safe navigation operator (?.) or (!.) and null property paths
However, since I initially lacked clarity on my search query, I prefer not to delete this inquiry.