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

Method toHTML

src/expression/node/Node.js:291–299  ·  view source on GitHub ↗

* Get HTML representation. (wrapper function) * * This function can get an object of the following form: * { * handler: //This can be a callback function of the form * // "function callback(node, options)" or * // a map that maps function name

(options)

Source from the content-addressed store, hash-verified

289 * @return {string}
290 */
291 toHTML (options) {
292 const customString = this._getCustomString(options)
293
294 if (typeof customString !== 'undefined') {
295 return customString
296 }
297
298 return this._toHTML(options)
299 }
300
301 /**
302 * Internal function to generate the HTML output.

Callers

nothing calls this directly

Calls 2

_getCustomStringMethod · 0.95
_toHTMLMethod · 0.95

Tested by

no test coverage detected