Safe Navigation Operator (&.) (Ruby)
The safe navigation operator &. calls a method only if the receiver is not nil; if it is nil, the expression returns nil instead of raising a NoMethodError.…
The safe navigation operator &. calls a method only if the receiver is not nil; if it is nil, the expression returns nil instead of raising a NoMethodError.…