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

Function parseMultiple

src/expression/parse.js:121–130  ·  view source on GitHub ↗
(expressions, options = {})

Source from the content-addressed store, hash-verified

119 })
120
121 function parseMultiple (expressions, options = {}) {
122 const extraNodes = options.nodes !== undefined ? options.nodes : {}
123
124 // parse an array or matrix with expressions
125 return deepMap(expressions, function (elem) {
126 if (typeof elem !== 'string') throw new TypeError('String expected')
127
128 return parseStart(elem, extraNodes)
129 })
130 }
131
132 // token types enumeration
133 const TOKENTYPE = {

Callers 1

parse.jsFile · 0.85

Calls 2

deepMapFunction · 0.90
parseStartFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…