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

Method transform

types/index.d.ts:4743–4743  ·  view source on GitHub ↗

* Recursively transform an expression tree via a transform function. * Similar to Array.map, but recursively executed on all nodes in the * expression tree. The callback function is a mapping function * accepting a node, and returning a replacement for the node or the * original node. Fu

(
    callback: (node: this, path: string, parent: MathNode) => TResult
  )

Source from the content-addressed store, hash-verified

4741 * ```
4742 */
4743 transform<TResult>(
4744 callback: (node: this, path: string, parent: MathNode) => TResult
4745 ): TResult
4746

Implementers 1

Nodesrc/expression/node/Node.js

Calls

no outgoing calls

Tested by

no test coverage detected