MCPcopy Create free account
hub / github.com/Rello/analytics / isSequential

Function isSequential

js/filter.js:665–665  ·  view source on GitHub ↗
(arr)

Source from the content-addressed store, hash-verified

663 });
664
665 const isSequential = (arr) => arr.every((val, i, array) => i === 0 || (val === array[i - 1] + 1));
666 if (layout.columns.length === 0 && layout.measures.length === 0 && layout.notRequired.length === 0) {
667 if (!isSequential(layout.rows)) {
668 tableOptions.layout = layout;

Callers 1

filter.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected