MCPcopy Index your code
hub / github.com/expr-lang/expr / toFloat

Function toFloat

optimizer/fold.go:329–335  ·  view source on GitHub ↗
(n Node)

Source from the content-addressed store, hash-verified

327}
328
329func toFloat(n Node) *FloatNode {
330 switch a := n.(type) {
331 case *FloatNode:
332 return a
333 }
334 return nil
335}
336
337func toBool(n Node) *BoolNode {
338 switch a := n.(type) {

Callers 1

VisitMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…