n><span class="token keyword">fun </span><a href="to-positive-int-or-null.html"><span class="token function">toPositiveIntOrNull</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../-positive-int/index.html">PositiveInt</a><span class="token operator">?</span></div><div class="brief "><p class="paragraph">Returns this <a href="value.html">value</a> as a positive int, or returns <code class="lang-kotlin">null</code> if thi