MCPcopy Index your code
hub / github.com/autoNumeric/autoNumeric / createLeaf

Method createLeaf

src/maths/ASTNode.js:64–70  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

62 }
63
64 static createLeaf(value) {
65 const node = new ASTNode();
66 node.type = 'number';
67 node.value = value;
68
69 return node;
70 }
71}

Callers 3

_moreExpMethod · 0.80
_moreTermsMethod · 0.80
_factorMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected