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

Function StringVal

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

Source from the content-addressed store, hash-verified

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} }
33
34// ImageVal wraps an encoded frame blob (e.g. JPEG bytes). It is an opaque
35// value — there is no Cast/AsX path into or out of it beyond AsImage.

Callers 11

TestEval_EmptyStringFunction · 0.85
TestEval_LiteralStringFunction · 0.85
TestEval_CastInStringFunction · 0.85
TestEval_CastInCodeFunction · 0.85
evalStringExprFunction · 0.85
ZeroValueFunction · 0.85
CastMethod · 0.85
CoerceFunction · 0.85
parseStringLiteralMethod · 0.85

Calls

no outgoing calls

Tested by 6

TestEval_EmptyStringFunction · 0.68
TestEval_LiteralStringFunction · 0.68
TestEval_CastInStringFunction · 0.68
TestEval_CastInCodeFunction · 0.68