Safe Navigation Operator (&.)
Safe Navigation Operator (&.)
&., is called "safe navigation operator", as it allows to skip method call when the receiver is nil. It returns nil and doesn't evaluate the method's arguments if the call is skipped.
&., this operator is intended to sho...
subashkhatri.hashnode.dev1 min read