Optional chaining
The optional chaining operator ?
allows you to safely access nested object properties
without having to write an if
statement to check for null
or undefined
.
Loading TypeScript...
The optional chaining operator ?
allows you to safely access nested object properties
without having to write an if
statement to check for null
or undefined
.