I have found this piece of code in on example:
const value: Token | undefined = object?.token
What this part "object?.token" actually means?
I cannot find it online, I am not sure how to search for it.
I understand that object.token
is used to access token property of object, but what is the use of "?"
Thanks