MCPcopy
hub / github.com/josdejong/mathjs / parseIdentifier

Function parseIdentifier

src/function/algebra/derivative.js:90–97  ·  view source on GitHub ↗
(string)

Source from the content-addressed store, hash-verified

88 }
89
90 function parseIdentifier (string) {
91 const symbol = parse(string)
92 if (!symbol.isSymbolNode) {
93 throw new TypeError('Invalid variable. ' +
94 `Cannot parse ${JSON.stringify(string)} into a variable in function derivative`)
95 }
96 return symbol
97 }
98
99 const derivative = typed(name, {
100 'Node, SymbolNode': plainDerivative,

Callers 1

derivative.jsFile · 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…