Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
_moreExp
Method · 0.80
_moreTerms
Method · 0.80
_factor
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected