You don't. You could surround it with a try-catch-...
# getting-started
r
You don't. You could surround it with a try-catch-block catching the unitialized exception, but that's pretty dirty - I'd use a nullable or Optional in that case.