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

Function levelToArray

lib/modifiers/summary/moveArticleAfter.js:40–44  ·  view source on GitHub ↗

@param {String} @return {Array }

(l)

Source from the content-addressed store, hash-verified

38 @return {Array<Number>}
39 */
40function levelToArray(l) {
41 return l.split('.').map(function (char) {
42 return parseInt(char, 10);
43 });
44}
45
46/**
47 @param {Array<Number>}

Callers 1

incrementFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…