="arrow">&#45;&gt;</span></span> <span>bool <a href="#type-t">t</a></span></span></code></div><div class="spec-doc"><p><code>is p</code> parses <code>true</code> if <code>p</code> is successful, <code>false</code> otherwise. <b>Note</b> evaluation of <code>p</code> doesn't consume any input.</p><p>Examples</p><pre><code>module P = Reparse.String

;;
let p = P.(is (char 'b')) in
let v = P.parse_string p &quot;bcb&quot; in
v = true</code></pre></div></div><div class="odoc-spec"><div class="spec value" id="val