lhs:<a href="index.html#type-t">t</a></span> <span>&#45;&gt;</span> <span>rhs:<a href="index.html#type-t">t</a></span> <span>&#45;&gt;</span> <span><a href="../Loc/index.html#type-t">Loc.t</a> option</span></code></dt><dd><p>It checks whether <code>rhs</code> is of <code>lhs.any_field</code>, which is a heuristic for detecting a linked list, e.g. <code>x = x.next()</code>. It returns <code>Some lhs</code> if the condition is satisfied, <code>None</code> otherwise.</p></dd></dl></div></body></html>