lib/command/list.js
function lpushx(key, value, req) {
  var val = this.getKey(key, req);
  if(val === undefined) {
    return 0;
  }
  return val.lpush([value]);
}
function lpushx(key, value, req) {
  var val = this.getKey(key, req);
  if(val === undefined) {
    return 0;
  }
  return val.lpush([value]);
}
function lpushx ( key , value , req ) { var val = this . getKey ( key , req ) ; if ( val === undefined ) { return 0 ; } return val . lpush ( [ value ] ) ; }
Insert values at the head of the list stored at key
only if key exists.
Insert values at the head of the list stored at key only if key exists .