 number="18.1.2">
<h3><span class="header-section-number">18.1.2</span> slot(name)</h3>
<p>Accesses the slot specified by the character string <code>name</code> if this object is <code>S4</code>.</p>
</div>
<div id="hasslotname" class="section level3" number="18.1.3">
<h3><span class="header-section-number">18.1.3</span> hasSlot(name)</h3>
<p>Returns <code>true</code> if there is a slot specified by the character string name.</p>
</div>
<div id="attrname" class="section level3" number="18.1.4">
<h3><span cl