MCPcopy Index your code
hub / github.com/josdejong/mathjs / stripOptionalNotation

Function stripOptionalNotation

tools/entryGenerator.js:548–552  ·  view source on GitHub ↗
(dependency)

Source from the content-addressed store, hash-verified

546}
547
548function stripOptionalNotation (dependency) {
549 return dependency && dependency[0] === '?'
550 ? dependency.slice(1)
551 : dependency
552}
553
554// function will check if a directory exists, and create it if it doesn't
555// https://blog.raananweber.com/2015/12/15/check-if-a-directory-exists-in-node-js/

Callers 2

generateFunctionsFilesFunction · 0.70
allDependenciesResolvedFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…