MCPcopy Create free account
hub / github.com/cel-expr/cel-go / ConvertToNative

Method ConvertToNative

interpreter/interpreter_test.go:2529–2531  ·  view source on GitHub ↗
(typeDesc reflect.Type)

Source from the content-addressed store, hash-verified

2527}
2528
2529func (c *testCustomFoldable) ConvertToNative(typeDesc reflect.Type) (any, error) {
2530 return c, nil
2531}
2532
2533func (c *testCustomFoldable) ConvertToType(typeVal ref.Type) ref.Val {
2534 return types.NewErr("unsupported type conversion")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected