node_modules/yjs/dist/tests.js
/**
     * Executes a provided function on once on every key-value pair.
     *
     * @param {function(T,string,YMap<T>):void} f A function to execute on every element of this YArray.
     */
Executes a provided function on once on every key-value pair.
@param {function(T,string,YMap):void} f A function to execute on every element of this YArray.
Executes a provided function on once on every key - value pair . @param { function ( T string YMap ) : void } f A function to execute on every element of this YArray .
forEach (f) {
      const map = {};
      this._map.forEach((item, key) => {
        if (!item.deleted) {
          f(item.content.getContent()[item.length - 1], key, this);
        }
      });
      return map
    }
forEach ( f ) { const map = { } ; this . _map . forEach ( ( item , key ) => { if ( ! item . deleted ) { f ( item . content . getContent ( ) [ item . length - 1 ] , key , this ) ; } } ) ; return map }
Executes a provided function on once on every key-value pair.
Executes a provided function on once on every key - value pair .
/**
       * @type {Object<string,T>}
       */