dist/cache/MemberCache.js
/**
     * Filter for members by providing filter function which returns true upon success and false otherwise
     * @param fn Filter function
     * @param guildId guild id the member is in
     */
Filter for members by providing filter function which returns true upon success and false otherwise
@param fn Filter function
@param guildId guild id the member is in
Filter for members by providing filter function which returns true upon success and false otherwise @param fn Filter function @param guildId guild id the member is in
async filter(fn, guildId = this.boundGuild, ids) {
        var _a;
        const members = await ((_a = this.storageEngine) === null || _a === void 0 ? void 0 : _a.filter(fn, ids, super.buildId(guildId)));
        return members.map(m => new MemberCache(this.storageEngine, this.user.bindUserId(m.id), this.rain, m).bindGuild(this.boundGuild));
    }
async filter ( fn , guildId = this . boundGuild , ids ) { var _a ; const members = await ( ( _a = this . storageEngine ) === null || _a === void 0 ? void 0 : _a . filter ( fn , ids , super . buildId ( guildId ) ) ) ; return members . map ( m => new MemberCache ( this . storageEngine , this . user . bindUserId ( m . id ) , this . rain , m ) . bindGuild ( this . boundGuild ) ) ; }
Filter for members by providing filter function which returns true upon success and false otherwise
 @param fn Filter function
 @param guildId guild id the member is in
Filter for members by providing filter function which returns true upon success and false otherwise @param fn Filter function @param guildId guild id the member is in
// @ts-ignore