docs: function assignIfStringLikeObj(name, toObj, fromObj, where) {
      var t, value;
      if ('undefined' !== typeof fromObj[name]) {
          if ('object' !== typeof fromObj[name]) {
              new TypeError((where || 'WaitingRoom.parseSettings: ') + name +
                            'must be object or undefined. Found: ' +
                            fromObj[name]);
          }
          for (t in fromObj[name]) {
              if (fromObj[name].hasOwnProperty(t)) {
                  value = fromObj[name][t];
                  if ('string' !== typeof value &&
                      'function' !== typeof value &&
                      false !== value) {
  
                      throw new TypeError(
                          (where || 'WaitingRoom.parseSettings: ') + name +
                              '.' + t + ' must be string, function, false or ' +
                              'undefined. Found: ' + value
                      );
                  }
              }
          }
          toObj[name] = fromObj[name];
      }
  }