Home
last modified time | relevance | path

Searched refs:countBy (Results 1 – 18 of 18) sorted by relevance

/plugin/sequencediagram/bower_components/lodash/vendor/underscore/test/
H A Dcollections.js739 var parity = _.countBy([1, 2, 3, 4, 5], function(num){ return num % 2 === 0; });
744 var grouped = _.countBy(list, 'length');
750 _.countBy([{}], function(){ assert.strictEqual(this, context); }, context);
752 grouped = _.countBy([4.2, 6.1, 6.4], function(num) {
759 _.countBy(array, function(value, index, obj){ assert.strictEqual(obj, array); });
762 grouped = _.countBy(array);
H A Dfunctions.js710 assert.deepEqual(_.countBy(collection, /b/g), {0: 1, 1: 1, 2: 1});
/plugin/sequencediagram/bower_components/lodash/vendor/backbone/test/
H A Dcollection.js742 assert.deepEqual(col.countBy(function(model){ return model.id; }), {0: 1, 1: 1, 2: 1, 3: 1});
776 assert.deepEqual(coll.countBy({a: 4}), {'false': 3, 'true': 1});
777 assert.deepEqual(coll.countBy('d'), {'undefined': 4});
/plugin/sequencediagram/bower_components/underscore/
H A Dunderscore-min.js5 ….has(n,r)?n[r].push(t):n[r]=[t]}),m.indexBy=F(function(n,t,r){n[r]=t}),m.countBy=F(function(n,t,r)…
H A Dunderscore.js421 _.countBy = group(function(result, value, key) {
H A Dunderscore-min.map1 …a","sort","left","right","a","b","group","behavior","groupBy","indexBy","countBy","toArray","size"…
/plugin/sequencediagram/bower_components/lodash/vendor/underscore/
H A Dunderscore-min.js5 ….has(n,r)?n[r].push(t):n[r]=[t]}),m.indexBy=F(function(n,t,r){n[r]=t}),m.countBy=F(function(n,t,r)…
H A Dunderscore.js434 _.countBy = group(function(result, value, key) {
/plugin/sequencediagram/bower_components/lodash/vendor/backbone/
H A Dbackbone.js1214 isEmpty: 1, chain: 1, sample: 3, partition: 3, groupBy: 3, countBy: 3,
/plugin/sequencediagram/bower_components/lodash/test/
H A Dtest.js3636 var actual = _.countBy(array, Math.floor);
3648 return index ? _.countBy(array, value) : _.countBy(array);
3657 var actual = _.countBy(['one', 'two', 'three'], 'length');
3664 var actual = _.countBy(array, function(n) {
3681 assert.deepEqual(_.countBy(array, 0), { '1': 1, '2': 2 });
3682 assert.deepEqual(_.countBy(array, 1), { 'a': 2, 'b': 1 });
3688 var actual = _.countBy({ 'a': 6.1, 'b': 4.2, 'c': 6.3 }, Math.floor);
3701 var actual = _(array).countBy().map(square).filter(isEven).take().value();
3703 assert.deepEqual(actual, _.take(_.filter(_.map(_.countBy(array), square), isEven)));
12312 assert.deepEqual(_.countBy(array), { '3': 2, '5': 1 });
[all …]
/plugin/sequencediagram/bower_components/lodash/dist/
H A Dlodash.js9077 var countBy = createAggregator(function(result, value, key) {
16544 lodash.countBy = countBy;
H A Dlodash.min.js98 An.countBy=$o,An.create=function(n,t){var r=eo(n);return null==t?r:at(r,t)},An.curry=iu,An.curryRig…
/plugin/sequencediagram/bower_components/lodash/
H A Dlodash.js9077 var countBy = createAggregator(function(result, value, key) {
16544 lodash.countBy = countBy;
/plugin/sequencediagram/bower_components/lodash/doc/
H A DREADME.md79 * <a href="#_countbycollection-iteratee_identity">`_.countBy`</a>
2496 <h3 id="_countbycollection-iteratee_identity"><code>_.countBy(collection, [iteratee=_.identity])</c…
2516 _.countBy([6.1, 4.2, 6.3], Math.floor);
2520 _.countBy(['one', 'two', 'three'], 'length');
8588 `commit`, `compact`, `concat`, `conforms`, `constant`, `countBy`, `create`,
/plugin/amcharts/assets/amcharts/plugins/export/libs/pdfmake/
H A Dpdfmake.js7847 var countBy = createAggregator(function(result, value, key) {
12747 lodash.countBy = countBy;
H A Dpdfmake.min.js8 …dKey=Xr,e.callback=wo,e.chain=pr,e.chunk=Mn,e.compact=On,e.constant=_o,e.countBy=Da,e.create=Bi,e.…
H A Dpdfmake.min.js.map1countBy","groupBy","indexBy","partition","getTime","valueOf","objProto","merge","camelCase","word"…
/plugin/aceeditor/
H A Dbuild.js1 …n){return L(e,t,n,function(e,t,n){(x.has(e,t)?e[t]:e[t]=[]).push(n)})},x.countBy=function(e,t,n){r… function