node_modules/y-codemirror/dist/test.js
/**
     * @return {boolean} Whether it was possible to reconnect a random connection.
     */
@return {boolean} Whether it was possible to reconnect a random connection.
@return { boolean } Whether it was possible to reconnect a random connection .
reconnectRandom () {
      const reconnectable = [];
      this.allConns.forEach(conn => {
        if (!this.onlineConns.has(conn)) {
          reconnectable.push(conn);
        }
      });
      if (reconnectable.length === 0) {
        return false
      }
      oneOf(this.prng, reconnectable).connect();
      return true
    }
reconnectRandom ( ) { const reconnectable = [ ] ; this . allConns . forEach ( conn => { if ( ! this . onlineConns . has ( conn ) ) { reconnectable . push ( conn ) ; } } ) ; if ( reconnectable . length === 0 ) { return false } oneOf ( this . prng , reconnectable ) . connect ( ) ; return true }
@return {boolean} Whether it was possible to reconnect a random connection.
@return { boolean } Whether it was possible to reconnect a random connection .
/**
       * @type {Array<TestYInstance>}
       */