src/Utility/Collection.js
/**
     * Test if at least one element passes the test implemented by the provided function. Returns true if yes, or false if not.
     *
     * @param {Function} func - A function that takes an object and returns true if it matches
     * @returns {Boolean} An array containing all the objects that matched
     *
     * @memberof Collection
     */
Test if at least one element passes the test implemented by the provided function. Returns true if yes, or false if not.
@param {Function} func - A function that takes an object and returns true if it matches
@returns {Boolean} An array containing all the objects that matched

@memberof Collection
Test if at least one element passes the test implemented by the provided function . Returns true if yes or false if not . @param { Function } func - A function that takes an object and returns true if it matches @returns { Boolean } An array containing all the objects that matched @memberof Collection
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 .