We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent daab437 commit 3292529Copy full SHA for 3292529
src/transforms/exclusiveFacets.js
@@ -1,7 +1,5 @@
1
import {slice} from "../options.js";
2
3
-// TODO How to reindex channels supplied as arrays? I don’t want to inspect
4
-// arbitrary values on the options; maybe we could use this.channels?
5
export function exclusiveFacets(data, facets) {
6
if (facets.length === 1) return {data, facets}; // only one facet; trivially exclusive
7
0 commit comments