dist/storageEngine/RedisStorageEngine.js
/**
     * Check if an id is part of a list
     * @param listId id of the list
     * @param id id that should be checked
     */
Check if an id is part of a list
@param listId id of the list
@param id id that should be checked
Check if an id is part of a list @param listId id of the list @param id id that should be checked
isListMember(listId, id) {
        return new Promise((res, rej) => {
            var _a;
            (_a = this.client) === null || _a === void 0 ? void 0 : _a.SISMEMBER(listId, id, (err, resp) => {
                if (err)
                    return rej(err);
                else
                    return res(resp === 1);
            });
        });
    }
isListMember ( listId , id ) { return new Promise ( ( res , rej ) => { var _a ; ( _a = this . client ) === null || _a === void 0 ? void 0 : _a . SISMEMBER ( listId , id , ( err , resp ) => { if ( err ) return rej ( err ) ; else return res ( resp === 1 ) ; } ) ; } ) ; }
Check if an id is part of a list
 @param listId id of the list
 @param id id that should be checked
Check if an id is part of a list @param listId id of the list @param id id that should be checked