src/store/memory.js
function(userId, filterId) {
        if (!this.filters[userId] || !this.filters[userId][filterId]) {
            return null;
        }
        return this.filters[userId][filterId];
    }
function(userId, filterId) {
        if (!this.filters[userId] || !this.filters[userId][filterId]) {
            return null;
        }
        return this.filters[userId][filterId];
    }
function ( userId , filterId ) { if ( ! this . filters [ userId ] || ! this . filters [ userId ] [ filterId ] ) { return null ; } return this . filters [ userId ] [ filterId ] ; }
Retrieve a filter.
@param {string} userId
@param {string} filterId
@return {?Filter} A filter or null.
Retrieve a filter .