MCPcopy
hub / github.com/GitbookIO/gitbook / increment

Function increment

lib/modifiers/summary/moveArticleAfter.js:54–58  ·  view source on GitHub ↗
(level)

Source from the content-addressed store, hash-verified

52}
53
54function increment(level) {
55 level = levelToArray(level);
56 level[level.length - 1]++;
57 return arrayToLevel(level);
58}
59
60module.exports = moveArticleAfter;

Callers 1

moveArticleAfterFunction · 0.85

Calls 2

levelToArrayFunction · 0.85
arrayToLevelFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…