Optional Chaining: The?. Operator in TypeScript

TypeScript 3.7 added support for the ?. operator, also known as the optional chaining operator. We can use this operator to descend into an object whose properties potentially hold the values null or undefined without writing any null checks for intermedi… Read more

Similar