dist/cache/MemberCache.js
/**
     * Filter through the collection of members and return the first match
     * @param fn Filter function
     * @param guildId guild id the member is in
     */
Filter through the collection of members and return the first match
@param fn Filter function
@param guildId guild id the member is in
Filter through the collection of members and return the first match @param fn Filter function @param guildId guild id the member is in
async find(fn, guildId = this.boundGuild, ids = undefined) {
        var _a;
        const member = await ((_a = this.storageEngine) === null || _a === void 0 ? void 0 : _a.find(fn, ids, super.buildId(guildId)));
        if (!member)
            return null;
        return new MemberCache(this.storageEngine, this.user.bindUserId(member.id), this.rain, member);
    }
async find ( fn , guildId = this . boundGuild , ids = undefined ) { var _a ; const member = await ( ( _a = this . storageEngine ) === null || _a === void 0 ? void 0 : _a . find ( fn , ids , super . buildId ( guildId ) ) ) ; if ( ! member ) return null ; return new MemberCache ( this . storageEngine , this . user . bindUserId ( member . id ) , this . rain , member ) ; }
Filter through the collection of members and return the first match
 @param fn Filter function
 @param guildId guild id the member is in
Filter through the collection of members and return the first match @param fn Filter function @param guildId guild id the member is in
// @ts-ignore