title: Document overloaded function in JSDoc
body: <p>I have an overloaded <strong>toggle</strong> function and want to document the behaviors w/ JSDoc.</p>
  
  <p>If the value is defined the window state is set to the boolean value of the truthy parameter, if undefined the window state toggles. I'm looking for something like this.</p>
  
  <pre><code>/**
   * Set the map window in mobile
   * @param {undefined|*} on - toggle or set the window state
   *  - {undefined} toggles window state
   *  - {*} set window state
   */
  toggleWindow(on) {
    if (on === undefined) {
      on = !this.state.window;
    }
    this.setState({ mapWindow: !!on });
  }
  </code></pre>