src/Utility/Store.js
/**
     * Return the first object to make the function evaluate true
     *
     * @param {(i: T) => Boolean} func - A function that takes an object and returns true if it matches
     * @returns {T} The first matching object, or null if no match
     * @memberof Store
     */
Return the first object to make the function evaluate true
@param {(i: T) => Boolean} func - A function that takes an object and returns true if it matches
@returns {T} The first matching object, or null if no match
@memberof Store
Return the first object to make the function evaluate true @param { ( i : T ) = > Boolean } func - A function that takes an object and returns true if it matches @returns { T } The first matching object or null if no match @memberof Store
find(func) {
        for (const item of this.values() ) {
            if (func(item) ) {
                return item;
            }
        }
        return null;
    }
find ( func ) { for ( const item of this . values ( ) ) { if ( func ( item ) ) { return item ; } } return null ; }
Return the first object to make the function evaluate true
 @param {(i: T) => Boolean} func - A function that takes an object and returns true if it matches
 @returns {T} The first matching object, or null if no match
 @memberof Store
Return the first object to make the function evaluate true @param { ( i : T ) = > Boolean } func - A function that takes an object and returns true if it matches @returns { T } The first matching object or null if no match @memberof Store