r.badType(_:)</code></a> if <code>symbol</code> is not a symbol.
<a href="../types/rberror.html?swift#duplicatekwarg_"><code>RbError.duplicateKwArg(_:)</code></a> if there are duplicate keywords in <code>kwArgs</code>.</p>


  <h5>Return Value</h5>
  <p>The result of calling the method.</p>


          

          <nav class="j2-item-nav" aria-label="item details">
            
            
            <span class="j2-item-nav-item"><a href="https://github.com/johnfairh/RubyGateway/tree/main/Sources/RubyGat