I successfully use angular 2 safe navigation operator for the properties mentioned in the documentation, for the property path , but a better approach for the method path?
myObj?.myMethod().myProperty
gives an exception:
EXCEPTION: TypeError: cannot read the myProperty property from null in [{{MyObj? .MyMethod (). MyProperty}}
source
share