MCPcopy
hub / github.com/jsdoc/jsdoc / removeGlobal

Function removeGlobal

lib/jsdoc/doclet.js:171–175  ·  view source on GitHub ↗
(longname)

Source from the content-addressed store, hash-verified

169};
170
171function removeGlobal(longname) {
172 const globalRegexp = new RegExp(`^${jsdoc.name.LONGNAMES.GLOBAL}\\.?`);
173
174 return longname.replace(globalRegexp, '');
175}
176
177/**
178 * Get the full path to the source file that is associated with a doclet.

Callers 2

setMemberofMethod · 0.85
setLongnameMethod · 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…