couchrest_model/views/markov/chain-reduce.js
2008-06-02 09:36:48 -07:00

2 lines
66 B
JavaScript

function(key,vs,c){if(c){return sum(vs);}else{return vs.length;}}