src/Utility/Store.js
/**
     * Return an array with the results of applying the given function to each element
     *
     * @template R
     * @param {(i: T) => R} func - A function that takes an object and returns something
     * @returns {Array<R>} An array containing the results
     * @memberof Store
     */
Return an array with the results of applying the given function to each element
@template R
@param {(i: T) => R} func - A function that takes an object and returns something
@returns {Array} An array containing the results
@memberof Store
Return an array with the results of applying the given function to each element @template R @param { ( i : T ) = > R } func - A function that takes an object and returns something @returns { Array } An array containing the results @memberof Store
map(func) {
        const arr = [];
        for (const item of this.values() ) {
            arr.push(func(item) );
        }
        return arr;
    }
map ( func ) { const arr = [ ] ; for ( const item of this . values ( ) ) { arr . push ( func ( item ) ) ; } return arr ; }
Return an array with the results of applying the given function to each element
 @template R
 @param {(i: T) => R} func - A function that takes an object and returns something
 @returns {Array<R>} An array containing the results
 @memberof Store
Return an array with the results of applying the given function to each element @template R @param { ( i : T ) = > R } func - A function that takes an object and returns something @returns { Array<R > } An array containing the results @memberof Store