MCPcopy Create free account
hub / github.com/brimdata/super / deunion

Function deunion

runtime/sam/expr/eval.go:783–788  ·  view source on GitHub ↗
(typ super.Type, b scode.Bytes)

Source from the content-addressed store, hash-verified

781}
782
783func deunion(typ super.Type, b scode.Bytes) super.Value {
784 if union, ok := typ.(*super.TypeUnion); ok {
785 typ, b = union.Untag(b)
786 }
787 return super.NewValue(typ, b)
788}
789
790type Conditional struct {
791 sctx *super.Context

Callers 2

indexArrayOrSetFunction · 0.70
indexMapFunction · 0.70

Calls 2

NewValueFunction · 0.92
UntagMethod · 0.80

Tested by

no test coverage detected