ection-number">18.1</span> Member functions</h2>
<p><code>RObject</code> has the following member functions. These member functions also exist in all other API classes (such as <code>NumericVector</code>) in Rcpp.</p>
<div id="inheritsstr-1" class="section level3" number="18.1.1">
<h3><span class="header-section-number">18.1.1</span> inherits(str)</h3>
<p>Returns <code>true</code> if this object inherits the class specified by the string <code>str</code>.</p>
</div>
<div id="slotname" class="section level3"