+<html xmlns="http://www.w3.org/1999/xhtml"><head><title>In_channel (alt-ergo-lib.AltErgoLib.Compat.In_channel)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../../odoc.support/odoc.css"/><meta name="generator" content="odoc 3.0.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../../odoc.support/highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> – <a href="../../../../index.html">Index</a> » <a href="../../../index.html">alt-ergo-lib</a> » <a href="../../index.html">AltErgoLib</a> » <a href="../index.html">Compat</a> » In_channel</nav><header class="odoc-preamble"><h1>Module <code><span>Compat.In_channel</span></code></h1><p>Input channels.</p><p>This module provides functions for working with input channels.</p><p>See <span class="xref-unresolved" title="examples">the example section</span> below.</p><ul class="at-tags"><li class="since"><span class="at-tag">since</span> OCaml 4.14</li></ul></header><div class="odoc-tocs"><nav class="odoc-toc odoc-local-toc"><ul><li><a href="#channels">Channels</a></li></ul></nav></div><div class="odoc-content"><h2 id="channels"><a href="#channels" class="anchor"></a>Channels</h2><div class="odoc-spec"><div class="spec type anchored" id="type-t"><a href="#type-t" class="anchor"></a><code><span><span class="keyword">type</span> t</span><span> = <span class="xref-unresolved">Stdlib</span>.in_channel</span></code></div><div class="spec-doc"><p>The type of input channel.</p></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-isatty"><a href="#val-isatty" class="anchor"></a><code><span><span class="keyword">val</span> isatty : <span><a href="#type-t">t</a> <span class="arrow">-></span></span> bool</span></code></div><div class="spec-doc"><p><code>isatty ic</code> is <code>true</code> if <code>ic</code> refers to a terminal or console window, <code>false</code> otherwise.</p><ul class="at-tags"><li class="since"><span class="at-tag">since</span> OCaml 5.1</li></ul></div></div></div></body></html>
0 commit comments