src/Utility/Store.js
/**
     * Test if at least one element passes the test implemented by the provided function. Returns true if yes, or false if not.
     *
     * @param {(i: T) => Boolean} func - A function that takes an object and returns true if it matches
     * @returns {Boolean} Whether or not any of the elements returned true
     * @memberof Store
     */
Test if at least one element passes the test implemented by the provided function. Returns true if yes, or false if not.
@param {(i: T) => Boolean} func - A function that takes an object and returns true if it matches
@returns {Boolean} Whether or not any of the elements returned true
@memberof Store
Test if at least one element passes the test implemented by the provided function . Returns true if yes or false if not . @param { ( i : T ) = > Boolean } func - A function that takes an object and returns true if it matches @returns { Boolean } Whether or not any of the elements returned true @memberof Store
some(func) {
        for (const item of this.values() ) {
            if (func(item) ) {
                return true;
            }
        }
        return false;
    }
some ( func ) { for ( const item of this . values ( ) ) { if ( func ( item ) ) { return true ; } } return false ; }
Test if at least one element passes the test implemented by the provided function.
Test if at least one element passes the test implemented by the provided function .