MCPcopy Create free account
hub / github.com/ForestHubAI/edge-agents / IntVal

Function IntVal

go/engine/expr/value.go:29–29  ·  view source on GitHub ↗
(v int64)

Source from the content-addressed store, hash-verified

27}
28
29func IntVal(v int64) Value { return Value{Type: workflowapi.Int, Raw: v} }
30func FloatVal(v float64) Value { return Value{Type: workflowapi.Float, Raw: v} }
31func BoolVal(v bool) Value { return Value{Type: workflowapi.Bool, Raw: v} }
32func StringVal(v string) Value { return Value{Type: workflowapi.String, Raw: v} }

Callers 14

TestEval_ArithmeticFunction · 0.85
TestEval_ComparisonFunction · 0.85
TestEval_CastInCodeFunction · 0.85
TestEval_FloatArithmeticFunction · 0.85
ZeroValueFunction · 0.85
CastMethod · 0.85
CoerceFunction · 0.85
parseAddSubMethod · 0.85
parseMulDivMethod · 0.85

Calls

no outgoing calls

Tested by 7

TestEval_ArithmeticFunction · 0.68
TestEval_ComparisonFunction · 0.68
TestEval_CastInCodeFunction · 0.68
TestEval_FloatArithmeticFunction · 0.68