MCPcopy
hub / github.com/witheve/Eve / isAggregate

Function isAggregate

src/runtime/builder.ts:566–574  ·  view source on GitHub ↗
(scan)

Source from the content-addressed store, hash-verified

564//-----------------------------------------------------------
565
566function isAggregate(scan) {
567 if(scan instanceof Aggregate ||
568 scan instanceof Sort ||
569 scan.hasAggregate ||
570 (scan.strata && scan.strata.length > 1)) {
571 return true;
572 }
573 return false;
574}
575
576function stratify(scans) {
577 if(!scans.length) return [new BlockStratum([], [])];

Callers 1

stratifyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected