MCPcopy
hub / github.com/shelljs/shelljs / _isStackIndex

Function _isStackIndex

src/dirs.js:18–20  ·  view source on GitHub ↗
(index)

Source from the content-addressed store, hash-verified

16var _dirStack = [];
17
18function _isStackIndex(index) {
19 return (/^[-+]\d+$/).test(index);
20}
21
22function _parseStackIndex(index) {
23 if (_isStackIndex(index)) {

Callers 4

_parseStackIndexFunction · 0.85
_pushdFunction · 0.85
_popdFunction · 0.85
_dirsFunction · 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…