title: Using object types with Jasmine's toHaveBeenCalledWith method
body: <p>I've just started using Jasmine so please forgive the newbie question but is it possible to test for object types when using <code>toHaveBeenCalledWith</code>?</p>
  
  <pre><code>expect(object.method).toHaveBeenCalledWith(instanceof String);
  </code></pre>
  
  <p>I know I could this but it's checking the return value rather than the argument.</p>
  
  <pre><code>expect(k instanceof namespace.Klass).toBeTruthy();
  </code></pre>