lib/type/zset.js
function zrank(member) {
  if(this._data[member] === undefined) return null;
  for(var i = 0;i < this._keys.length;i++) {
    if(this.memberEqual(member, this._keys[i].m)) {
      return i;
    }
  }
  return null;
}
function zrank(member) {
  if(this._data[member] === undefined) return null;
  for(var i = 0;i < this._keys.length;i++) {
    if(this.memberEqual(member, this._keys[i].m)) {
      return i;
    }
  }
  return null;
}
function zrank ( member ) { if ( this . _data [ member ] === undefined ) return null ; for ( var i = 0 ; i < this . _keys . length ; i ++ ) { if ( this . memberEqual ( member , this . _keys [ i ] . m ) ) { return i ; } } return null ; }
Returns the rank of member in the sorted set.
Returns the rank of member in the sorted set .