er="6.4.3">
<h3 data-number="6.4.3" class="anchored" data-anchor-id="sec-null-handling"><span class="header-section-number">6.4.3</span> Null handling in optionals</h3>
<p>When you have an optional object in your Zig code, you have to explicitly handle the possibility of this object being null. It’s like error-handling with <code>try</code> and <code>catch</code>. In Zig you also have to handle null values like if they were a type of error.</p>
<p>We can do that, by using either:</p>
<ul>
<li>an if statem