src/Utility/Store.js
/**
     * Return all the objects that make the function evaluate true
     *
     * @param {(i: T) => Boolean} func - A function that takes an object and returns true if it matches
     * @returns {Array<T>} An array containing all the objects that matched
     * @memberof Store
     */
Return all the objects that make the function evaluate true
@param {(i: T) => Boolean} func - A function that takes an object and returns true if it matches
@returns {Array} An array containing all the objects that matched
@memberof Store
Return all the objects that make the function evaluate true @param { ( i : T ) = > Boolean } func - A function that takes an object and returns true if it matches @returns { Array } An array containing all the objects that matched @memberof Store
filter(func) {
        const arr = [];
        for (const item of this.values() ) {
            if (func(item) ) {
                arr.push(item);
            }
        }
        return arr;
    }
filter ( func ) { const arr = [ ] ; for ( const item of this . values ( ) ) { if ( func ( item ) ) { arr . push ( item ) ; } } return arr ; }
Return all the objects that make the function evaluate true
 @param {(i: T) => Boolean} func - A function that takes an object and returns true if it matches
 @returns {Array<T>} An array containing all the objects that matched
 @memberof Store
Return all the objects that make the function evaluate true @param { ( i : T ) = > Boolean } func - A function that takes an object and returns true if it matches @returns { Array<T > } An array containing all the objects that matched @memberof Store